Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021389Openbravo ERP09. Financial managementpublic2012-08-20 12:072012-08-21 10:36
marvintm 
dmiguelez 
immediatecriticalhave not tried
closedfixed 
5
 
3.0MP143.0MP14 
gorkaion
Core
No
0021389: New column in the M_Transaction table breaks the upgrade from earlier versions
A new column, called Costing_Status, has been added to the M_Transaction table. This column contains an incorrect oncreatedefault.
If a user tries to upgrade from an earlier version of Openbravo to current MP14 candidate, and has records in that table, he will get an error during the update.database task.
- Start a Openbravo 3.0 MP11 instance.
- Create records in the m_transaction table.
- Upgrade to MP14 candidate. The process will fail.
No tags attached.
Issue History
2012-08-20 12:07marvintmNew Issue
2012-08-20 12:07marvintmAssigned To => dmiguelez
2012-08-20 12:07marvintmModules => Core
2012-08-20 12:12marvintmSeveritymajor => critical
2012-08-20 13:53hgbotCheckin
2012-08-20 13:53hgbotNote Added: 0051377
2012-08-20 13:53hgbotStatusnew => resolved
2012-08-20 13:53hgbotResolutionopen => fixed
2012-08-20 13:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/72d6045b34d9102cf19609ebc5e969c03fcbfb49 [^]
2012-08-21 10:36gorkaionClosed by => gorkaion
2012-08-21 10:36gorkaionStatusresolved => closed
2012-08-21 10:36gorkaionFixed in Version => 3.0MP14

Notes
(0051377)
hgbot   
2012-08-20 13:53   
Repository: erp/devel/pi
Changeset: 72d6045b34d9102cf19609ebc5e969c03fcbfb49
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Aug 20 13:40:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72d6045b34d9102cf19609ebc5e969c03fcbfb49 [^]

Fixes issue 21389: Changes onCreateDefault for a moduleScript

---
M src-db/database/model/tables/M_TRANSACTION.xml
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateMTransactionCostingStatus.class
A src-util/modulescript/src/org/openbravo/modulescript/UpdateMTransactionCostingStatus.java
---