-
Bug
-
Resolution: Done
-
Major
-
7.10.1.GA
-
False
-
False
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
-
2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
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
- clones
-
DROOLS-6298 for-each for the property of fact causes compilation error in executable models.
- Closed