Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-254

DrlParser/DrlDumper will break valid DRL containing accumulate statements

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0, 7.0.0.GA
    • Component/s: BRE
    • Labels:
      None
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      • run attached junit test
    • Sprint:
      2018 Week 01-02

      Description

      When parsing and then dumping a valid DRL containing "accumulate" statements, will throw exception while building kieBase.
      ~~~
      java.lang.RuntimeException: Build Errors:
      Error Messages:
      Message [id=1, kieBase=defaultKieBase, level=ERROR, path=rules.drl, line=24, column=0
      text=[ERR 102] Line 24:13 mismatched input ':' in rule "last flown date"]
      Message [id=2, kieBase=defaultKieBase, level=ERROR, path=rules.drl, line=0, column=0
      text=Parser returned a null Package]
      ~~~

      This issue is not reproducible in BxMS 6.3.x release. It occurs only in 6.4+ releases.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  abhumbe Abhijit Humbe
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: