You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2026/09/09 09:29:05 UTC
[I] A ternary condition in an inline-eval results in a wrong constraint and class-reactive [incubator-kie]
tkobayas opened a new issue, #7095:
URL: https://github.com/apache/incubator-kie/issues/7095
### Describe the bug
having a ternary condition in an inline-eval,
```
rule "TernaryEvalLoop"
dialect "mvel"
when
String(this == "go")
$p : MyPerson( eval("foo" == "foo" ? "foo" == flag1 : "foo" == flag2) )
then
modify($p) {
setOtherAttribute("done")
}
end
```
it results in
- A wrong constraint (a partial `"foo" == "foo"`, so always true)
- Class-reactive
### Expected behavior
_No response_
### Actual behavior
_No response_
### How to Reproduce?
_No response_
### Output of `uname -a` or `ver`
_No response_
### Output of `java -version`
_No response_
### GraalVM version (if different from Java)
_No response_
### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
_No response_
### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
_No response_
### Additional information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] A ternary condition in an inline-eval results in a wrong constraint and class-reactive [incubator-kie]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed issue #7095: A ternary condition in an inline-eval results in a wrong constraint and class-reactive
URL: https://github.com/apache/incubator-kie/issues/7095
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org