[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:52:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prameela Pod updated DROOLS-2996:
---------------------------------
    Steps to Reproduce: 
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

  was:
Extract the zip file
Import proect 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



> 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