[jboss-jira] [JBoss JIRA] (DROOLS-4176) Error in compiling BigLiteral binding as literal
Erik Smith (Jira)
issues at jboss.org
Thu Jun 13 12:21:01 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Smith deleted DROOLS-4176:
-------------------------------
> 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
> 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";
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list