Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029079Openbravo ERP04. Warehouse managementpublic2015-02-26 13:522015-03-24 16:14
umartirena 
umartirena 
urgentmajorN/A
closedfixed 
5
 
3.0PR15Q2 
Sandrahuguet
Core
No
0029079: Costing Background process does not finish under certain cirumnstances
Costing Background process gets stuck so it doesn't continue calculating cost of transactions, but it does not finish and doesn't return any error.

The error is related to rounding quantities to costing precission.
We have an environment of a client in which this problem happens. As the scenario is quite complex to reproduce, it is possible to reproduce on that environment.
No tags attached.
depends on backport 00291913.0PR15Q1.2 closed umartirena Costing Background process does not finish under certain cirumnstances 
Issue History
2015-02-26 13:52umartirenaNew Issue
2015-02-26 13:52umartirenaAssigned To => Sandrahuguet
2015-02-26 13:52umartirenaModules => Core
2015-02-26 13:52umartirenaTriggers an Emergency Pack => No
2015-02-26 13:56umartirenaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7789#r7789
2015-02-26 19:36hgbotCheckin
2015-02-26 19:36hgbotNote Added: 0074999
2015-02-26 19:36hgbotStatusnew => resolved
2015-02-26 19:36hgbotResolutionopen => fixed
2015-02-26 19:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4b156502982751d8d872b7ac8177159a437815c7 [^]
2015-02-27 10:24umartirenaAssigned ToSandrahuguet => umartirena
2015-02-27 16:11hudsonbotCheckin
2015-02-27 16:11hudsonbotNote Added: 0075050
2015-03-09 09:23umartirenaStatusresolved => new
2015-03-09 09:23umartirenaResolutionfixed => open
2015-03-09 09:24umartirenaStatusnew => scheduled
2015-03-09 09:24umartirenaStatusscheduled => resolved
2015-03-09 09:24umartirenaFixed in Version => pi
2015-03-09 09:24umartirenaResolutionopen => fixed
2015-03-24 16:14SandrahuguetReview Assigned To => Sandrahuguet
2015-03-24 16:14SandrahuguetNote Added: 0075936
2015-03-24 16:14SandrahuguetStatusresolved => closed
2015-03-24 16:14SandrahuguetFixed in Versionpi => 3.0PR15Q2

Notes
(0074999)
hgbot   
2015-02-26 19:36   
Repository: erp/devel/pi
Changeset: 4b156502982751d8d872b7ac8177159a437815c7
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Feb 26 15:36:55 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4b156502982751d8d872b7ac8177159a437815c7 [^]

Fixes bug 29079: Fixed Costing Background infinite loop.

Costing Background process, due to Cost Adjustments new implementation, on a certain point of the code, it was not applying correctly a setScale method to round a value of the expected cost. This was causing to have allways a difference between the expected cost and unitcost. Because of this, an adjustment was being created to adjust this difference, and to adjust all related transactions, causing an infinite loop

---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
(0075050)
hudsonbot   
2015-02-27 16:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7f9c56fa7aba [^]
Maturity status: Test
(0075936)
Sandrahuguet   
2015-03-24 16:14   
Code review + testing OK