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