Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000434Openbravo ERPZ. Otherspublic2008-05-26 13:152008-12-02 13:01
marvintm 
marvintm 
normalminoralways
closedfixed 
5
 
2.402.40alpha-r3 
Core
No
0000434: Tables AD_TAB and AD_WINDOW change when exported from PostgreSQL
When a PostgreSQL database is exported, files AD_TAB.xml and AD_WINDOW.xml inside src-db/database/model/tables/ change.

Two checks contain line additional line feeds that are trimmed in PostgreSQL. Also, a ::CHARACTER VARYING is added.
With an Openbravo.properties pointing to a PostgreSQL database, do:

ant create.database

and then

ant export.database

You will notice that those two files have changed.
The syntax of the checks has to be changed, to prevent the ::CHARACTER VARYING from appearing, and the line feed have to be removed.
PostgreSQL
Issue History
2008-05-26 13:15marvintmNew Issue
2008-05-26 13:15marvintmAssigned To => marvintm
2008-05-26 13:15marvintmStatusnew => scheduled
2008-05-26 15:14marvintmStatusscheduled => resolved
2008-05-26 15:14marvintmFixed in Version => trunk
2008-05-26 15:14marvintmsvn_revision => 4532
2008-05-26 15:14marvintmResolutionopen => fixed
2008-05-26 15:14marvintmNote Added: 0000336
2008-06-11 14:47cromeroTarget Version => 2.40
2008-06-11 14:50cromeroFixed in Versiontrunk => 2.40alpha r3
2008-07-10 12:09plujanTag Attached: PostgreSQL
2008-11-26 14:05psarobeRegression testing => No
2008-11-26 14:05psarobeStatusresolved => closed
2008-12-02 13:01jaimetorresf_bug_id0 => 2377028

Notes
(0000336)
marvintm   
2008-05-26 15:14   
Now those files shouldn't change when exported.