-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
2020 Week 52-03 (from Dec 21)
-
-
Undefined
-
NEW
-
NEW
-
---
-
---
When executing a rule like (*1) that uses comparison between different-type bound variables (for example, an Integer variable and a String variable consisting of digit characters like (*1-1)), the action part of the rule is unexpectedly fired in executable model though the result of the comparison is expected to be false.
(*1)
package com.example.reproducer import static com.example.reproducer.CommonUtils.getListSize dialect "java" rule "rule15a1" when Order( $target : "3", $items : getListSize(items), $items != $target ) // ..... (*1-1) then System.out.println("***** Action of rule15a1 -- $items = " + $items); end
- clones
-
RHDM-1564 Type coercion does not work for bound variables in executable model.
- Closed