Bug 1015109 - No reevaluation of 'from collect' is performed
Summary: No reevaluation of 'from collect' is performed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: x86_64
OS: Windows
high
urgent
Target Milestone: ER5
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 13:11 UTC by Richard Bourner
Modified: 2014-08-06 20:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:17:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Maven Eclipse project demonstrating the issue (33.34 KB, application/x-zip-compressed)
2013-10-03 13:11 UTC, Richard Bourner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-281 0 Critical Resolved no reevaluation of 'from collect' is performed 2015-07-13 11:34:13 UTC

Description Richard Bourner 2013-10-03 13:11:24 UTC
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):
6.0.0.CR4

How reproducible:
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:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 JBoss JIRA Server 2013-10-04 09:51:08 UTC
Richard Bourner <richard> made a comment on jira DROOLS-281

Additional information: it seems like the problem starts occuring for Beta3.

Comment 3 JBoss JIRA Server 2013-10-04 14:44:29 UTC
Mario Fusco <mario.fusco> 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.

Comment 4 Mario Fusco 2013-10-04 15:58:07 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/d1a1fa06a

Comment 5 JBoss JIRA Server 2013-10-04 15:58:35 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-281 to Resolved

Comment 6 Tomas David 2013-12-11 08:43:02 UTC
Verified on BRMS 6.0.0.ER5.


Note You need to log in before you can comment on or make changes to this bug.