[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1923) Rule order counts when inheriting rules

Toni Rikkola (JIRA) jira-events at lists.jboss.org
Wed Sep 28 10:28:26 EDT 2011


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

Toni Rikkola closed JBRULES-1923.
---------------------------------

    Resolution: Out of Date


This was fixed at some point.

> Rule order counts when inheriting rules
> ---------------------------------------
>
>                 Key: JBRULES-1923
>                 URL: https://issues.jboss.org/browse/JBRULES-1923
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions:  5.0.0.M4
>            Reporter: Toni Rikkola
>            Assignee: Edson Tirelli
>             Fix For: 5.3.0.Final
>
>
> When inheriting rules, the order they are written to DRL counts. 
> dward noticed this when using Guvnor. There is no way to control the order of the rules in Guvnor, so because of this inheritance doesn't always work.
> This works:
> rule A 
>     when    
>         ...
>     then
> end
> rule B extends A
>     when
>         ...
>     then
> end
> This doesn't work:
> rule B extends A
>     when
>         ...
>     then
> end
> rule A 
>     when    
>         ...
>     then
> end

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list