[jboss-jira] [JBoss JIRA] (DROOLS-100) DRL compiler accepts rules extending non-existing rules

Mark Proctor (JIRA) jira-events at lists.jboss.org
Tue Aug 20 03:11:27 EDT 2013


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

Mark Proctor updated DROOLS-100:
--------------------------------

    Comment: was deleted

(was: BackwardChainingTest.testDynamicRulesWithSharing fails. On closer inspection the AddRemoveRule class is failing to iterate through all the child LeftTuples of the QueryElementNode.)

    
> DRL compiler accepts rules extending non-existing rules
> -------------------------------------------------------
>
>                 Key: DROOLS-100
>                 URL: https://issues.jboss.org/browse/DROOLS-100
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final, 6.0.0.Alpha9
>            Reporter: Davide Sottara
>            Assignee: Mark Proctor
>             Fix For: 5.5.1.Final, 6.0.0.Beta2
>
>
> rule "X" extends "Y" 
> is accepted even if no rule "Y" is available. "X" will be created with local conditions and actions only.
> This is extremely dangerous and very difficult to debug in two cases:
> - rule "Y" exists but is in a different package (not supported)
> - rule "Y*" exists and "Y" is a spelling mistake

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list