Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011127Openbravo ERPY. DBSourceManagerpublic2009-10-26 12:572009-11-07 00:00
marvintm 
marvintm 
urgentmajorhave not tried
closedfixed 
5
 
2.50MP9 
Core
No
0011127: If the rebuild process fails when installing a module, the next rebuild deletes the content from ad_module
Sometimes, if the rebuild process fails when installing a module, the system ends up being in a strange inconsistent state, which makes the next rebuild (update.database) delete all the contents of the ad_module table.
Install the CRM module. The rebuild will fail (due to an error in the module).

After that, the next update.database will go wrong (ad_module and ad_tab tables will be empty after it, and the process will fail, and no other update.databases can be done after that point, as there are no modules in the database and DAL won't initialize without them).
No tags attached.
Issue History
2009-10-26 12:57marvintmNew Issue
2009-10-26 12:57marvintmAssigned To => marvintm
2009-10-26 18:16hgbotCheckin
2009-10-26 18:16hgbotNote Added: 0021375
2009-10-26 18:16hgbotStatusnew => resolved
2009-10-26 18:16hgbotResolutionopen => fixed
2009-10-26 18:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a1be30a825650cf33a9cf80cba9cd2dc35aab61e [^]
2009-11-06 10:50arunkumarStatusresolved => closed
2009-11-06 10:50arunkumarNote Added: 0021626
2009-11-06 10:50arunkumarFixed in Version => 2.50MP9
2009-11-07 00:00anonymoussf_bug_id0 => 2893612

Notes
(0021375)
hgbot   
2009-10-26 18:16   
Repository: erp/devel/pi
Changeset: a1be30a825650cf33a9cf80cba9cd2dc35aab61e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 26 18:16:22 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a1be30a825650cf33a9cf80cba9cd2dc35aab61e [^]

Fixed issue 11127. onCreateDefaults should now be executed with the NOT NULL constraints deactivated.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0021626)
arunkumar   
2009-11-06 10:50   
Tested & Working fine.