Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012645Openbravo ERPY. DBSourceManagerpublic2010-03-11 09:342010-03-13 00:00
marvintm 
marvintm 
urgentmajorhave not tried
closedfixed 
5
 
2.50MP14 
Core
No
0012645: update.database still needs one core class to run
Update.database still needs the DalInitializingTask class to run. This means that if for some reason the Openbravo compiled classes were lost, update.database cannot be run.
Delete the build folder in Openbravo. Try to do update.database.
The dependency will be removed, so that you can do update.database even without the Openbravo classes compiled.
No tags attached.
Issue History
2010-03-11 09:34marvintmNew Issue
2010-03-11 09:34marvintmAssigned To => marvintm
2010-03-11 10:01hgbotCheckin
2010-03-11 10:01hgbotNote Added: 0025233
2010-03-11 10:01hgbotStatusnew => resolved
2010-03-11 10:01hgbotResolutionopen => fixed
2010-03-11 10:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/82888a87033f16dca5713a913e7a66ac9d2e75ae [^]
2010-03-12 16:07shuehnerNote Added: 0025297
2010-03-12 16:07shuehnerStatusresolved => closed
2010-03-12 16:07shuehnerFixed in Version => 2.50MP14
2010-03-12 22:41hudsonbotCheckin
2010-03-12 22:41hudsonbotNote Added: 0025425
2010-03-13 00:00anonymoussf_bug_id0 => 2969682

Notes
(0025233)
hgbot   
2010-03-11 10:01   
Repository: erp/devel/pi
Changeset: 82888a87033f16dca5713a913e7a66ac9d2e75ae
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 11 10:05:56 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/82888a87033f16dca5713a913e7a66ac9d2e75ae [^]

Fixed issue 12645. Removed the dependency from the DalInitializingTask in update.database.

---
M build.xml
M src-db/database/build.xml
M src-db/database/lib/dbsourcemanager.jar
---
(0025297)
shuehner   
2010-03-12 16:07   
Tested on pi rev: e6ff1e964bd7. Update.database itself now can be ran without having any part of erp compiled before.

THis applies to the update.database part itself, after this nwo by default an apply.modules is ran. This part still needs src/ compiled (because of its dal-use).

However the change is intended to be able to use the update.database part itself to fix a broken db-state which is now possible.
(0025425)
hudsonbot   
2010-03-12 22:41   
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/82888a87033f [^]
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 [^]