[jboss-jira] [JBoss JIRA] Created: (JBRULES-1664) Or with From doesn't work
Jaroslaw Kijanowski (JIRA)
jira-events at lists.jboss.org
Wed Jul 2 07:42:32 EDT 2008
Or with From doesn't work
-------------------------
Key: JBRULES-1664
URL: http://jira.jboss.com/jira/browse/JBRULES-1664
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Reteoo
Affects Versions: 4.0.7, 5.0.0-M1
Reporter: Jaroslaw Kijanowski
Assigned To: Mark Proctor
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: 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