[jboss-jira] [JBoss JIRA] (DROOLS-2996) Existing Rules are not working as expected after migrating the Drools version from 6.0.3 to 7.4.1.Final

Prameela Pod (JIRA) issues at jboss.org
Tue Sep 18 07:42:00 EDT 2018


Prameela Pod created DROOLS-2996:
------------------------------------

             Summary: Existing Rules are not working as expected after migrating the Drools version from 6.0.3 to 7.4.1.Final
                 Key: DROOLS-2996
                 URL: https://issues.jboss.org/browse/DROOLS-2996
             Project: Drools
          Issue Type: Bug
    Affects Versions: 7.4.1.Final
            Reporter: Prameela Pod
            Assignee: Mario Fusco
         Attachments: DroolsTestPortlet.zip, logs.txt

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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list