Erik Smith created DROOLS-4176:
----------------------------------
Summary: Error in compiling BigLiteral binding as literal
Key: DROOLS-4176
URL:
https://issues.jboss.org/browse/DROOLS-4176
Project: Drools
Issue Type: Bug
Reporter: Erik Smith
Assignee: Luca Molteni
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";
--
This message was sent by Atlassian Jira
(v7.12.1#712002)