]
Toni Rikkola closed DROOLS-1814.
--------------------------------
Resolution: Won't Do
Guided Decision Table V&V reporting - detect redundancy for rows
differing only in bound vars
---------------------------------------------------------------------------------------------
Key: DROOLS-1814
URL:
https://issues.jboss.org/browse/DROOLS-1814
Project: Drools
Issue Type: Enhancement
Components: Guided Decision Table Editor
Reporter: Zuzka Krejčová
Assignee: Toni Rikkola
Priority: Minor
Labels: reported-by-qe, verifier
The following 2 rows/rules from one GDT are redundant but not detected as such. The
reason is that one operates with a fact bound to variable 'p', the other binds the
same fact to variable 'q'. It would be nice, if things like this were detected as
well.
rule "Row 1 asd"
when
p : Person( age > 0 )
then
p.setSth( 0 );
end
rule "Row 2 asd"
when
q : Person( age > 0 )
then
q.setSth( 0 );
end