[jboss-jira] [JBoss JIRA] Created: (JBRULES-667) Combination of Or condition and simple fact fails to evaluate

Frederic Burlet (JIRA) jira-events at lists.jboss.org
Mon Feb 12 08:38:31 EST 2007


Combination of Or condition and simple fact fails to evaluate
-------------------------------------------------------------

                 Key: JBRULES-667
                 URL: http://jira.jboss.com/jira/browse/JBRULES-667
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.1-m1
         Environment: Debian Linux Unstable
Java 1.4

            Reporter: Frederic Burlet
         Assigned To: Mark Proctor
         Attachments: conditions-test.tar.gz


When we have a lhs containing a combination of or condition and simple fact like:
 .... when
  MyBean(property == value_1) or MyBean(property == value_2)
  OtherBean( )
 then....

The engine throwing a NPE when adding rules.
It also fails with the same error when conditions are written in a different order.

See attached test case in order to reproduce. This has been tested against the trunk revision #9453.


-- 
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