Bug 1015109

Summary: No reevaluation of 'from collect' is performed
Product: [Retired] JBoss BRMS Platform 6 Reporter: Richard Bourner <rbourner>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas David <tdavid>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.0.0CC: ddoyle, omikelad, rbourner
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:17:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Maven Eclipse project demonstrating the issue none

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.