Red Hat Bugzilla – Bug 1015109
No reevaluation of 'from collect' is performed
Last modified: 2014-08-06 16:17:53 EDT
Created attachment 807080 [details]
Maven Eclipse project demonstrating the issue
Description of problem:
Using Drools 6.0.0.CR4, a problem has been found related to reevaluation of a condition that contains a 'from collect' statement.
A unit test is provided demonstrating the issue using 2 rules. This unit test works fine using 6.0.0.Beta2.
Version-Release number of selected component (if applicable):
Run the unit test in the attached project.
2 POM are provided:
- 1 for 6.0.0.Beta2 : no problem with this one
- 1 for 6.0.0.CR4 that reproduces the problem
Steps to Reproduce:
Richard Bourner <firstname.lastname@example.org> made a comment on jira DROOLS-281
Additional information: it seems like the problem starts occuring for Beta3.
Mario Fusco <email@example.com> made a comment on jira DROOLS-281
I found that this problem is reproducible with rete but it works as expected with phreak.
I also suspect this is not a regression, but more likely you were using phreak when you tested this issue with the Beta2. Please confirm.
Fixed by https://github.com/droolsjbpm/drools/commit/d1a1fa06a
Mario Fusco <firstname.lastname@example.org> updated the status of jira DROOLS-281 to Resolved
Verified on BRMS 6.0.0.ER5.