Bug 1004778 - Optaplanner score corruption caused by a bug in accumulate node
Summary: Optaplanner score corruption caused by a bug in accumulate node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER4
: 6.0.0
Assignee: Mario Fusco
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 13:12 UTC by Mario Fusco
Modified: 2014-08-06 20:19 UTC (History)
0 users

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


Attachments (Terms of Use)
Patch to be applied to Optaplanner to reproduce the score corruption (30.05 KB, patch)
2013-09-05 13:12 UTC, Mario Fusco
no flags Details | Diff

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.


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