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

Existing Rules are not working as expected after migrating the Drools version from 6.0.3 to 7.4.1.Final

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.13.0.Final
    • 7.4.1.Final
    • None
    • None
    • 2018 Week 39-41
    • 3
    • Hide

      Extract the zip file
      Import project into workspace
      Run the class(DroolsTest.java - Run as java application)
      verify the console logs
      FYI.. Please find the test case results log files attached in JIRA

      Show
      Extract the zip file Import project into workspace Run the class(DroolsTest.java - Run as java application) verify the console logs FYI.. Please find the test case results log files attached in JIRA
    • High
    • NEW
    • NEW

      After drools migration from 6.0.3 to 7.4.1.Final version , modify property in 1st rule not validating conditions in 2nd rule.

      Ex: modify($alarm)

      {setEVENTO_EN_TAREA("YES")}

      - In 1st rule then condition

      $alarm: ALARMA_ERICSSON_2G("NO" == getEVENTO_EN_TAREA()) - When condition in 2nd rule.

      If getEVENTO_EN_TAREA() = "YES" then only it should go inside 2nd rule.But here in this case getEVENTO_EN_TAREA()="YES" or "NO" - For both cases 2nd rule when condition is matched and going inside then condition.Which is wrong

      Please find the attached sample test project with logs.

      Kindly let me know additional information is required.

              mfusco@redhat.com Mario Fusco
              prameela_37 Prameela P (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: