[jboss-jira] [JBoss JIRA] (DROOLS-1800) Verification & Validation: Subsumption not picked up correctly

Toni Rikkola (Jira) issues at jboss.org
Fri Jan 11 10:42:01 EST 2019


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

Toni Rikkola updated DROOLS-1800:
---------------------------------
    Labels: verifier  (was: )


> Verification & Validation: Subsumption not picked up correctly
> --------------------------------------------------------------
>
>                 Key: DROOLS-1800
>                 URL: https://issues.jboss.org/browse/DROOLS-1800
>             Project: Drools
>          Issue Type: Bug
>          Components: Guided Decision Table Editor
>            Reporter: Toni Rikkola
>            Assignee: Toni Rikkola
>            Priority: Major
>              Labels: verifier
>
> Example 1
> Rule1:     when        (attr1 == 'value11' , att2 == 'value22')   then <something>
> Rule2:     when        (attr1 == 'value11' , att2 == 'value22')   then <something>
> it will throw an error saying conflicting rules but when we have a attr like age where we want to match minAge and maxAge it dosen't detect a conflict properly.
> Example 2
> Rule1:     when        (minAge > '18' , maxAge < '50')   then <something>
> Rule2:     when        (minAge > '25' , maxAge < '35')   then <something>
> In the above example 2 age 30 will match both the rules but there is no conflict detected 



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list