[jboss-jira] [JBoss JIRA] (DROOLS-663) DrlDumper does not output binding for accumulate function

Bryn Rhodes (JIRA) issues at jboss.org
Mon Dec 8 17:43:39 EST 2014


Bryn Rhodes created DROOLS-663:
----------------------------------

             Summary: 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: Mark Proctor
            Priority: Minor


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