[
http://jira.jboss.com/jira/browse/JBRULES-982?page=all ]
Edson Tirelli closed JBRULES-982.
---------------------------------
Fix Version/s: 4.0.0.MR4
Resolution: Done
Dirk,
Thanks for one more report. Seems "collect" will be flawless after final
release, thanks to you... :)
Anyway, in the presence of an alpha restriction in the source pattern, collect would
present wrong results as you showed in your report.
Problem fixed and test case added.
update() not working for "collect" rules
----------------------------------------
Key: JBRULES-982
URL:
http://jira.jboss.com/jira/browse/JBRULES-982
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Reteoo
Affects Versions: 4.0.0.MR4
Reporter: Dirk Bergstrom
Assigned To: Edson Tirelli
Fix For: 4.0.0.MR4
Attachments: Tester.java
Rules using "collect" are collecting objects that no longer match after an
update() is called.
WorkingMemory.update() or WorkingMemory.modifyRetract()/modifyInsert() don't work,
but doing retract() followed by insert() does.
I'll attach a testcase momentarily.
--
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