-
Bug
-
Resolution: Done
-
Major
-
7.10.1.GA
-
False
-
False
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2021 Week 22-24 (from May 31)
Building a rule like (*1) which is described in MVEL dialect and contains null assignment to a property of the fact (*1-1) in the action part with executable rule models enabled, a model generation error like (*2) occurs.
(*1)
dialect "mvel" rule "rule_null_assignment" when $fact : Fact() then System.out.println("***** Action of rule_null_assignment: $fact = " + $fact); modify($fact) { phoneNum = null // ..... (*1-1) } end // phoneNum is a String-type property of Fact class.
(*2)
[ERROR] Unable to build KieBaseModel:kbase-rules CompilationProblemErrorResult: org.drools.mvelcompiler.MvelCompilerException: RHS doesn't have a type