[
https://issues.jboss.org/browse/DROOLS-1814?page=com.atlassian.jira.plugi...
]
Michael Anstis moved GUVNOR-2249 to DROOLS-1814:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1814 (was: GUVNOR-2249)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Decision Table Editor
(was: Guided Decision Table)
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
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
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)