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

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Mon Feb 19 11:36:33 EST 2007


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

Edson Tirelli updated JBRULES-667:
----------------------------------

        Summary: Combination of Or condition and simple fact fails to evaluate (Frederic Burlet)  (was: Combination of Or condition and simple fact fails to evaluate)
    Description: 
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.


  was:

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.



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

        



More information about the jboss-jira mailing list