Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-663

DrlDumper does not output binding for accumulate function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 6.2.0.Final
    • 6.2.0.CR2
    • None
    • None

      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)

              mfusco@redhat.com Mario Fusco
              brynrhodes Bryn Rhodes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: