]
Luca Molteni updated DROOLS-4175:
---------------------------------
Sprint: 2019 Week 23-25
Error in compiling BigLiteral binding as literal
------------------------------------------------
Key: DROOLS-4175
URL:
https://issues.jboss.org/browse/DROOLS-4175
Project: Drools
Issue Type: Bug
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
When beta joining two fields with a BigDecimal or BigInteger field, if a field is
assigned as a binding the drools-model-compiler fails the compilation.
"import " + Result.class.getCanonicalName() + ";" +
"import " + Person.class.getCanonicalName() +
";" +
"rule R when\n" +
" $r : Result()\n" +
" $markV : Person(name == \"Mark\", $markMoney :
money)\n" +
" $richerV : Person(name != \"Mark\", money >
$markMoney)\n" +
"then\n" +
" $r.setValue($richerV.getName() + \" is richer than
\" + $markV.getName());\n" +
"end";