-
Bug
-
Resolution: Done
-
Major
-
7.55.0.Final
-
None
-
2021 Week 22-24 (from May 31)
-
2
-
Undefined
-
NEW
-
NEW
Rule like this:
rule R when $p : Person() if (true) do[t1] then result.add("main"); then[t1] result.add("t1"); end
results in
org.drools.model.Rule rule = D.rule("R").build(D.pattern(var_$p),
D.when().then(D.on(var_result).execute(defaultpkg.PEE.LambdaConsequenceEE21997F1A78A2FC85DC68BA0784837A.INSTANCE)),
D.on(var_result).execute(defaultpkg.P24.LambdaConsequence24EA5983ACEA66E2AC037A35FA85E1FA.INSTANCE));
So D.when() fails with
text=The method when(ExprViewItem) in the type PatternDSL is not applicable for the arguments ()
- is incorporated by
-
DROOLS-5823 executable-model test failure in test-compiler-integration NamedConsequencesTest
- Closed
- is related to
-
DROOLS-5729 Reorganize drools unit tests
- Coding In Progress