Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012483Openbravo ERPY. DBSourceManagerpublic2010-02-26 12:112010-03-13 00:00
marvintm 
marvintm 
urgentmajoralways
closedfixed 
5
 
2.50MP142.50MP14 
No
Core
No
0012483: update.database.script doesn't work with new dbsourcemanager
The update.database.script task doesn't work with the new dbsourcemanager. The task works correctly if only Core is installed, but if additional modules which add database objects (such as new tables or columns) are installed, the task tries to read them twice, and the process fails.
Just put a module inside the modules/ folder of Openbravo, and do update.database.script. An error will be shown, and the process will stop.
The build.xml in src-db/database/ needs to be changed.
No tags attached.
Issue History
2010-02-26 12:11marvintmNew Issue
2010-02-26 12:11marvintmAssigned To => marvintm
2010-02-26 12:11marvintmOBNetwork customer => No
2010-02-26 12:19hgbotCheckin
2010-02-26 12:19hgbotNote Added: 0024861
2010-02-26 12:19hgbotStatusnew => resolved
2010-02-26 12:19hgbotResolutionopen => fixed
2010-02-26 12:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/751e62388ba527f4c4a122fb13d6135b48c91146 [^]
2010-03-08 16:05jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-12 15:48alostaleStatusresolved => closed
2010-03-12 15:48alostaleFixed in Version => 2.50MP14
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025342
2010-03-13 00:00anonymoussf_bug_id0 => 2969671

Notes
(0024861)
hgbot   
2010-02-26 12:19   
Repository: erp/devel/pi
Changeset: 751e62388ba527f4c4a122fb13d6135b48c91146
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Feb 26 12:14:54 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/751e62388ba527f4c4a122fb13d6135b48c91146 [^]

Fixed issue 12483. update.database.script will now work again.

---
M src-db/database/build.xml
---
(0025342)
hudsonbot   
2010-03-12 22:40   
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/751e62388ba5 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]