[jboss-jira] [JBoss JIRA] (DROOLS-663) DrlDumper does not output binding for accumulate function
Mario Fusco (JIRA)
issues at jboss.org
Tue Dec 9 13:49:39 EST 2014
[ https://issues.jboss.org/browse/DROOLS-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-663.
--------------------------------
Fix Version/s: 6.2.0.Final
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/commit/ec5a12a9e
> DrlDumper does not output binding for accumulate function
> ---------------------------------------------------------
>
> Key: DROOLS-663
> URL: https://issues.jboss.org/browse/DROOLS-663
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.CR2
> Environment: Windows 8.1, Eclipse, Java 8.0.25
> Reporter: Bryn Rhodes
> Assignee: Mario Fusco
> Priority: Minor
> Fix For: 6.2.0.Final
>
>
> When building a rule with a single-function accumulate conditional element, I set the binding name for the function call according to the documentation for the function method of the AccumulateDescrBuilder. However, when the function is output by the DrlDumper, the accumulate call is output without the binding.
> I've traced the Builder to the Descr and that sets the description correctly. The problem seems to be with the drl.mvel template, line 96, the function output template doesn't have a marker for the binding name. (https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/resources/org/drools/compiler/lang/drl.mvel)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list