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

executable-model doesn't fully parse multi-line pattern

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.24.0.Final, 7.25.0.Final, 7.26.0.Final, 7.27.0.Final
    • executable model

      When a pattern has multiple lines, executable-model doesn't fully parse its conditions.

      rule R1 when
        $p : Person(age == 30
        || employed == true)
      then
      end
      

      Looking at the generated Java code, only the first line is parsed.

      It doesn't have a problem in 7.23.0.Final so it seems to be a regression after that.

              lmolteni@redhat.com Luca Molteni
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: