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.1.FINAL
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: