Bug 1104767

Summary: Accumulation returns n-times more value than actual number of summed values present by PHREAK engine when **split and join** are used in JBPM flow
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Svitak <jsvitak>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: etirelli, lpetrovi, mbaluch, rrajasek
Target Milestone: CR1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:54:20 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:
Bug Depends On: 1103071    
Bug Blocks:    

Description Mario Fusco 2014-06-04 15:36:05 UTC
Accumulation returns n-times more value than actual number of summed values present. The factor n is dependent upon the number of times the parent object
updates are called before rule that does the summation is invoked in the flow.

Comment 1 Mario Fusco 2014-06-04 15:36:58 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/fa36f1cbe

Comment 3 Edson Tirelli 2014-06-04 15:57:48 UTC
This is related to the fix linked, so we need to include it in 6.0.2 as well.

Comment 4 Mario Fusco 2014-06-04 16:55:31 UTC
Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/2455c628f

Comment 5 Jiri Svitak 2014-06-18 15:16:57 UTC
Verified in BRMS 6.0.2.CR1. 

Already covered by community unit tests which are regularly run against product build.