[
http://jira.jboss.com/jira/browse/JBRULES-667?page=all ]
Edson Tirelli closed JBRULES-667.
---------------------------------
Fix Version/s: 3.1-m2
Resolution: Done
Fixed in revision #9607.
Thank you for reporting and providing the fix.
Combination of Or condition and simple fact fails to evaluate
(Frederic Burlet)
-------------------------------------------------------------------------------
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: Edson Tirelli
Fix For: 3.1-m2
Attachments: conditions-test.tar.gz, patch_npe_combination_of_conditions.patch
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