Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2626

Compilation of spreadsheet fails with specific condition

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.4.0
    • 6.3.2.GA
    • Business Central
    • ER3
    • Hide

      unzip reproducer.zip and then run "mvn clean package exec:java"

      Show
      unzip reproducer.zip and then run "mvn clean package exec:java"

    Description

      Reproducer is attached.with problematic spredsheet named SampleNG.xml.
      Compilation of this fails with the following error.

      java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=dtables/SampleNG.xls, line=8, column=0
      text=Unable to Analyse Expression checktest == AAA:
      [Error: unable to resolve method using strict-mode: com.sample.DecisionTableTest$Message.AAA()]
      [Near :

      {... checktest == AAA ....}

      ]

      because the following DRL is generated.

      rule "HelloWorld_12"
      when
      m:Message(checktest in (AAA), status == "Message.HELLO")
      ...

      i.e. double quotation of value ("AAA") specified in the cell is removed.

      If D column does not exist like Sample.xml(also included in reproducer) or rule template of D column is modified like "status == $param " (see SampleOK.xml), this does not happen.

      Attachments

        Issue Links

          Activity

            People

              manstis@redhat.com Michael Anstis
              rhn-support-alazarot Alessandro Lazarotti
              Archiver:
              rhn-support-ceverson Clark Everson
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty