Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021669Openbravo ERPA. Platformpublic2012-09-17 12:172012-10-30 15:36
dmiguelez 
AugustoMauch 
normalmajoralways
closedfixed 
20Community Appliance
 
3.0MP17 
marvintm
Core
No
0021669: Validation when exporting Database not working properly.
When Exporting the Database, there is a validation that checks that every column in the Database has a matching engtry in the Application Dictionary.
But it seems it is not working properly. There has been a regression already related to this Issue.
https://issues.openbravo.com/view.php?id=21614 [^]
Create a new column in the Database, for example in C_Invoice
Export it.
This column has no maching entry in the Application Dictionary and the validation has not warned about it.
No tags attached.
? issue21669.export (3,090) 2012-10-11 17:57
https://issues.openbravo.com/file_download.php?file_id=5648&type=bug
Issue History
2012-09-17 12:17dmiguelezNew Issue
2012-09-17 12:17dmiguelezAssigned To => AugustoMauch
2012-09-17 12:17dmiguelezModules => Core
2012-09-17 15:41shuehnerIssue Monitored: shuehner
2012-10-11 17:57AugustoMauchFile Added: issue21669.export
2012-10-11 18:28AugustoMauchIssue Monitored: marvintm
2012-10-11 18:28AugustoMauchReview Assigned To => marvintm
2012-10-11 18:29hgbotCheckin
2012-10-11 18:29hgbotNote Added: 0053322
2012-10-11 18:29hgbotStatusnew => resolved
2012-10-11 18:29hgbotResolutionopen => fixed
2012-10-11 18:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f412ba02b37be45190c900ff5aa11b214732ebb8 [^]
2012-10-13 15:50hudsonbotCheckin
2012-10-13 15:50hudsonbotNote Added: 0053336
2012-10-30 15:36marvintmStatusresolved => closed
2012-10-30 15:36marvintmFixed in Version => 3.0MP17

Notes
(0053322)
hgbot   
2012-10-11 18:29   
Repository: erp/devel/pi
Changeset: f412ba02b37be45190c900ff5aa11b214732ebb8
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Oct 11 13:51:24 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f412ba02b37be45190c900ff5aa11b214732ebb8 [^]

Fixes issue 21669: Validation when exporting Database not working properly

There was a validation that was only being done to the tables that belonged to the module being validated, but not to the tables modified by that module. Now, if a module adds a column to a table that belongs to another module but forgets to add it to the application dictionary, the validation will detect the error, the same way it has been working for the columns defined in tables that belonged to the module being validated.

---
M src/org/openbravo/service/system/DatabaseValidator.java
---
(0053336)
hudsonbot   
2012-10-13 15:50   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/99e438a6f972 [^]

Maturity status: Test