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

DrlDumper does not output binding for accumulate function

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: