Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022276Openbravo ERP05. Production managementpublic2012-11-13 09:322012-11-21 06:06
VictorVillar 
jonalegriaesarte 
immediatemajorsometimes
closedfixed 
5
pi 
3.0MP18 
VictorVillar
Core
No
0022276: The costing migration process fails: ERROR index 0 size 0
Sometimes if the user launches the costing migration process, it fails with ERROR Index 0 size 0
Sometimes if the user launches the costing migration process, it fails with ERROR Index 0 size 0
Add OBDal.getInstance().refresh(icl.getPhysInventory()); (line 412)

just before

 CostingRuleInit cri = icl.getPhysInventory().getCostingRuleInitCloseInventoryList().get(0);

on the calculateCosts method in the CostingMigrationProcess.java
No tags attached.
Issue History
2012-11-13 09:32VictorVillarNew Issue
2012-11-13 09:32VictorVillarAssigned To => dmiguelez
2012-11-13 09:32VictorVillarModules => Core
2012-11-13 09:32VictorVillarResolution time => 1355353200
2012-11-13 09:32VictorVillarIssue Monitored: networkb
2012-11-13 09:34VictorVillarPriorityurgent => immediate
2012-11-13 09:43dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-11-14 13:53hgbotCheckin
2012-11-14 13:53hgbotNote Added: 0054228
2012-11-14 13:53hgbotStatusnew => resolved
2012-11-14 13:53hgbotResolutionopen => fixed
2012-11-14 13:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/299f8fb74b3e743342125df20bd5f3e621f1bd75 [^]
2012-11-14 15:44VictorVillarReview Assigned To => VictorVillar
2012-11-14 15:44VictorVillarNote Added: 0054234
2012-11-14 15:44VictorVillarStatusresolved => closed
2012-11-21 06:06hudsonbotCheckin
2012-11-21 06:06hudsonbotNote Added: 0054380

Notes
(0054228)
hgbot   
2012-11-14 13:53   
Repository: erp/devel/pi
Changeset: 299f8fb74b3e743342125df20bd5f3e621f1bd75
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Wed Nov 14 13:52:22 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/299f8fb74b3e743342125df20bd5f3e621f1bd75 [^]

Fixes issue 0022276: The costing migration process fails: ERROR index 0 size 0

---
M src/org/openbravo/costing/CostingMigrationProcess.java
---
(0054234)
VictorVillar   
2012-11-14 15:44   
Verified + Code Review by Gorka Ion
(0054380)
hudsonbot   
2012-11-21 06:06   
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/c3c5e61b0164 [^]

Maturity status: Test