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

erel sagi (JIRA) jira-events at lists.jboss.org
Sun Apr 22 07:57:30 EDT 2007


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: Mark Proctor


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