Bug 1004778

Summary: Optaplanner score corruption caused by a bug in accumulate node
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0   
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:19:58 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
Patch to be applied to Optaplanner to reproduce the score corruption none

Description Mario Fusco 2013-09-05 13:12:00 UTC
Created attachment 794269 [details]
Patch to be applied to Optaplanner to reproduce the score corruption

Description of problem:

Optaplanner score corruption caused by a bug in accumulate node

Steps to Reproduce:

- Get last optaplanner master
- Apply patch in attachment
- Run VehicleRoutingApp.
- Load tmp.xml and solve

Actual results:

java.lang.IllegalStateException: Score corruption: the workingScore (-29hard/0soft) is not the uncorruptedScore (-23hard/0soft) after completedAction (10 => 16):

Expected results:

No score corruption

Comment 1 Mario Fusco 2013-09-05 13:18:22 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/cad1eb3d5

Comment 6 Lukáš Petrovický 2013-10-17 06:54:20 UTC
Confirming that the fix had been applied. VERIFIED in ER4.