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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0, 7.0.0.GA
    • 7.0.0
    • BRE
    • None
    • CR1
      • run attached junit test
    • 2018 Week 01-02

      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.

            mfusco@redhat.com Mario Fusco
            rhn-support-abhumbe Abhijit Humbe
            Tibor Zimányi Tibor Zimányi
            Tibor Zimányi Tibor Zimányi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: