]
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