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

Michael Anstis (JIRA) issues at jboss.org
Fri Oct 27 04:35:08 EDT 2017


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

Michael Anstis moved GUVNOR-2623 to DROOLS-1800:
------------------------------------------------

        Project: Drools  (was: Guvnor)
            Key: DROOLS-1800  (was: GUVNOR-2623)
       Workflow: GIT Pull Request workflow   (was: classic default workflow)
    Component/s: Guided Decision Table Editor
                     (was: Guided Decision Table)


> 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
>
> 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.5.0#75005)


More information about the jboss-jira mailing list