Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011727Openbravo ERPY. DBSourceManagerpublic2009-12-10 15:362009-12-15 04:56
networkb 
mtaal 
immediatemajoralways
closedfixed 
5
2.50MP9 
2.50MP10 
Core
No
0011727: Export.database fails when a table is not registered into AD
A table is created into Database.
It is not registered into the AD.
When export.database is excecuted, an error is shown and stops.
It is not possible to export the module
Create a module in the AD.
Dependency: core.
DB Prefix: NN
Create a table into database using the DB Prefix.
Execute ant export.database
No tags attached.
Issue History
2009-12-10 15:36networkbNew Issue
2009-12-10 15:36networkbAssigned To => marvintm
2009-12-10 15:37mtaalAssigned Tomarvintm => mtaal
2009-12-11 00:12hgbotCheckin
2009-12-11 00:12hgbotNote Added: 0022667
2009-12-11 00:12hgbotStatusnew => resolved
2009-12-11 00:12hgbotResolutionopen => fixed
2009-12-11 00:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fbc40e3ed53edcca803b1ef0452c6c2d0ac593d5 [^]
2009-12-11 10:28marvintmNote Added: 0022694
2009-12-11 10:28marvintmStatusresolved => closed
2009-12-12 00:00anonymoussf_bug_id0 => 2913005
2009-12-15 04:56hudsonbotCheckin
2009-12-15 04:56hudsonbotNote Added: 0022783

Notes
(0022667)
hgbot   
2009-12-11 00:12   
Repository: erp/devel/pi
Changeset: fbc40e3ed53edcca803b1ef0452c6c2d0ac593d5
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Dec 11 00:12:22 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fbc40e3ed53edcca803b1ef0452c6c2d0ac593d5 [^]

fixes issue 11727: Export.database fails when a table is not registered into AD

---
M src/org/openbravo/service/system/DatabaseValidator.java
---
(0022694)
marvintm   
2009-12-11 10:28   
Created a table, didn't add it to the AD, and tried to export.database. With old classes compiled, it failed with an error. With new ones, it gave a warning, but the process completed succesfully, and the table was exported, so everything is fine.
(0022783)
hudsonbot   
2009-12-15 04:56   
---
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/e7ad8a48210d [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15705.obx [^]
---