]
Damon Horrell updated JBRULES-2072:
-----------------------------------
Attachment: drools-bug-tests.zip
Attached test case.
Updating a fact within a rule fails unless the fact is explicitly
declared in the LHS of the rule
-------------------------------------------------------------------------------------------------
Key: JBRULES-2072
URL:
https://jira.jboss.org/jira/browse/JBRULES-2072
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Damon Horrell
Assignee: Mark Proctor
Attachments: drools-bug-tests.zip
This works:
rule "declaring foo in LHS"
when
bar : Bar(foo : foo);
then
update(foo);
end
but this doesn't:
rule "not declaring foo in LHS"
when
bar : Bar();
then
update(bar.getFoo());
end
This was broken recently because it works in 5.0.0.CR1 but not in 5.0.0.SNAPSHOT or
5.0.1.SNAPSHOT.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: