Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029191
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementmajorN/A2015-02-26 13:522015-04-01 08:31
ReporterumartirenaView Statuspublic 
Assigned Toumartirena 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q1.2
StatusclosedFix in branchFixed in SCM revision4c24198c7d78
ProjectionnoneETAnoneTarget Version3.0PR15Q1.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029191: Costing Background process does not finish under certain cirumnstances

DescriptionCosting 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.
Steps To ReproduceWe 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.
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029079 closedumartirena Costing Background process does not finish under certain cirumnstances 

-  Notes
(0075954)
hgbot (developer)
2015-03-25 08:51

Repository: erp/backports/3.0PR15Q1.2
Changeset: 4c24198c7d78812593683d8bde639103b7c65b17
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Feb 26 15:36:55 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/4c24198c7d78812593683d8bde639103b7c65b17 [^]

Fixes bug 29191: 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
---
(0075958)
Sandrahuguet (developer)
2015-03-25 08:53

Code review + testing OK
(0076237)
hgbot (developer)
2015-04-01 08:10

Repository: erp/backports/3.0PR15Q2
Changeset: 4c24198c7d78812593683d8bde639103b7c65b17
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Feb 26 15:36:55 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/4c24198c7d78812593683d8bde639103b7c65b17 [^]

Fixes bug 29191: 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
---
(0076252)
priyam (administrator)
2015-04-01 08:31

closed again, as the status changed due the merge tag of 3.0PR15Q1.2 to backports/3.0PR15Q2

- Issue History
Date Modified Username Field Change
2015-03-09 09:24 umartirena Type defect => backport
2015-03-09 09:24 umartirena Target Version => 3.0PR15Q1.2
2015-03-09 20:00 dmitry_mezentsev Tag Attached: Approved
2015-03-25 08:51 hgbot Checkin
2015-03-25 08:51 hgbot Note Added: 0075954
2015-03-25 08:51 hgbot Status scheduled => resolved
2015-03-25 08:51 hgbot Resolution open => fixed
2015-03-25 08:51 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/4b156502982751d8d872b7ac8177159a437815c7 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/4c24198c7d78812593683d8bde639103b7c65b17 [^]
2015-03-25 08:53 Sandrahuguet Review Assigned To => Sandrahuguet
2015-03-25 08:53 Sandrahuguet Note Added: 0075958
2015-03-25 08:53 Sandrahuguet Status resolved => closed
2015-03-25 08:53 Sandrahuguet Fixed in Version => 3.0PR15Q1.2
2015-04-01 08:10 hgbot Checkin
2015-04-01 08:10 hgbot Note Added: 0076237
2015-04-01 08:10 hgbot Status closed => resolved
2015-04-01 08:10 hgbot Fixed in SCM revision http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/4c24198c7d78812593683d8bde639103b7c65b17 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/4c24198c7d78812593683d8bde639103b7c65b17 [^]
2015-04-01 08:31 priyam Status resolved => closed
2015-04-01 08:31 priyam Note Added: 0076252


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker