[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1664) Or with From doesn't work

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu Jan 22 22:32:16 EST 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-1664:
----------------------------------

    Fix Version/s: 5.0.0.CR1
                       (was: 5.0.0.M5)


> Or with From doesn't work
> -------------------------
>
>                 Key: JBRULES-1664
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1664
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core  (expert)
>    Affects Versions: 4.0.7, 5.0.0.M1
>            Reporter: Jaroslaw Kijanowski
>            Assignee: Edson Tirelli
>             Fix For: 5.0.0.CR1
>
>         Attachments: DroolsTest.java, Sample.drl
>
>
> This affects 4.0.7 and trunk (rev 20869)
> As reported in the ML, using OR together with FROM doesn't work, I'm attaching the test and rule file, which should fire:
> when
>   Person( add:address )
>   Address( zipcode == "99999") from add
>   and
>   ( 
>     Address( zipcode == "12345") from add
>     or 
>     Address( zipcode == "54321") from add
>   )
> then
>     System.out.println("Rule fired");
> end
> Changing or to and does work

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

        



More information about the jboss-jira mailing list