-
Bug
-
Resolution: Done
-
Major
-
None
-
7.52.0.Final
-
2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10)
-
-
-
Undefined
-
NEW
-
NEW
Compiling a rule like (*1) which is described in MVEL dialect and contains the enhanced "for" (foreach) statement for the property of the fact in the action part with executable rule models enabled, compilation error like (*2) occurs at the enhanced "for" statement.
(*1)
dialect "mvel" rule "rule_for_each" when $fact : Fact( ) then for(Object $o: $fact.objects){ System.out.println("***** Object: " + $o); } end
(*2)
[ERROR] /path/to/reproducer_for_each_mvel/target/generated-sources/drools-model-compiler/main/java/com/example/reproducer/P38/LambdaConsequence38AC43B3394F7F01FE2963E5C1446FBD.java:[25,31] objects has private access in com.example.reproducer.Fact
- is cloned by
-
RHDM-1709 for-each for the property of fact causes compilation error in executable models.
- Closed