[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-813) Two opposing rules get fired

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Tue May 8 09:41:57 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-813?page=all ]

Edson Tirelli resolved JBRULES-813.
-----------------------------------

    Fix Version/s: 4.0.0.MR2
       Resolution: Done

I'm closing the ticket. If you continue to have problems, please reopen the ticket.

> Two opposing rules get fired
> ----------------------------
>
>                 Key: JBRULES-813
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-813
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1-m1
>            Reporter: erel sagi
>         Assigned To: Edson Tirelli
>             Fix For: 4.0.0.MR2
>
>
> When using the following two rules with an empty working memory both rules get fired:
>  
> ===================================
> rule rule1
> when     
>        not Person(gender == Consts.Unknown)            
> then
>        System.out.println("rule1");
> end
> rule rule2
> when
>        exists Person(gender == Consts.Unknown)
> then
>        System.out.println("rule2");
> end
> =================================== 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list