Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013284Openbravo ERPA. Platformpublic2010-05-11 09:572010-06-02 10:47
shuehner 
shuehner 
immediatecriticalhave not tried
closedfixed 
5
2.50MP15 
2.50MP16 
Core
No
0013284: All Upgrade from MP15 to a later core version using the MMC will fail
Using the MMC to upgrade from MP15 to a later core version will fail with 'Error zipping core' message which stops the install.

Problem is that the folder src-diagnostics was renamed to src-util/diagnostics in the MP15 cycle.
Now the backup core code does try to backup an non-existing folder and fails.
Fix list of folders to backup and retest MP14 -> MP15 and MP15 -> newer core upgrades.
Regression
Issue History
2010-05-11 09:57shuehnerNew Issue
2010-05-11 09:57shuehnerAssigned To => shuehner
2010-05-11 09:58shuehnerTag Attached: Regression
2010-05-11 10:02jpabloaeIssue Monitored: jpabloae
2010-05-11 10:42hgbotCheckin
2010-05-11 10:42hgbotNote Added: 0027128
2010-05-11 10:42hgbotStatusnew => resolved
2010-05-11 10:42hgbotResolutionopen => fixed
2010-05-11 10:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2a5baee094332e3b3dbdd9c5b6ee9d734059a95a [^]
2010-05-11 18:52marvintmNote Added: 0027147
2010-05-11 18:52marvintmStatusresolved => closed
2010-05-11 18:52marvintmFixed in Version => 2.50MP16
2010-05-12 00:00anonymoussf_bug_id0 => 3000186
2010-05-18 21:44hudsonbotCheckin
2010-05-18 21:44hudsonbotNote Added: 0027511
2010-06-02 10:47psarobeversionmain => 2.50MP15

Notes
(0027128)
hgbot   
2010-05-11 10:42   
Repository: erp/devel/pi
Changeset: 2a5baee094332e3b3dbdd9c5b6ee9d734059a95a
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue May 11 10:42:11 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2a5baee094332e3b3dbdd9c5b6ee9d734059a95a [^]

Fixed 13284: Fix mmc core upgrades to newer versions:
- update list of folder to backup on a core update to match
  renaming of src-diagnostics -> src-util/diagnostics
- if exception happens in doing core backup, log real exception
  into logfile (but don't show in UI)

---
M src/org/openbravo/erpCommon/modules/ImportModule.java
---
(0027147)
marvintm   
2010-05-11 18:52   
Tested that the upgrade works again from MP16 to a dummy MP17.
(0027511)
hudsonbot   
2010-05-18 21:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/2a5baee09433 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]