[jboss-jira] [JBoss JIRA] (DROOLS-1814) Guided Decision Table V&V reporting - detect redundancy for rows differing only in bound vars

Toni Rikkola (Jira) issues at jboss.org
Mon Jan 14 05:22:01 EST 2019


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

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



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



More information about the jboss-jira mailing list