Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016743Openbravo ERPA. Platformpublic2011-03-16 12:002011-07-14 15:20
ioritzCia 
marvintm 
normalminoralways
closedfixed 
20Ubuntu 10.04
 
2.50MP32 
Core
No
0016743: Failure ordering changes when exporting datasets.
The dataset exporting process creates some differences it should not have to.
- Install Spanish Taxes https://code.openbravo.com/erp/mods/org.openbravo.localization.spain.referencedata.taxes/ [^]
- Create a client with name TAXES applying the dataset Spanish Taxes module supplies.
- Make some change in a tax of that dataset in that client.
- Export dataset.
- See that there are changes that there sould not be.

The attatched file shows the diff generated.
No tags attached.
blocks defect 0016320 closed marvintm Failure ordering changes when exporting datasets. 
Issue History
2011-04-11 13:27dalsasuaTypedefect => backport
2011-04-11 13:27dalsasuafix_in_branchpi => 2.50
2011-06-10 17:10dalsasuaTarget Version => 2.50MP32
2011-07-13 13:34hgbotCheckin
2011-07-13 13:34hgbotNote Added: 0039038
2011-07-13 13:34hgbotCheckin
2011-07-13 13:34hgbotNote Added: 0039039
2011-07-13 13:34hgbotStatusscheduled => resolved
2011-07-13 13:34hgbotResolutionopen => fixed
2011-07-13 13:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/a488a723e6241de9a195bb4ab5ffaa22f959b46d [^] => http://code.openbravo.com/erp/stable/2.50/rev/43a7836496f5d7503cfb8dd8f7aeed4402dafdbe [^]
2011-07-14 15:20shuehnerNote Added: 0039062
2011-07-14 15:20shuehnerStatusresolved => closed

Notes
(0039038)
hgbot   
2011-07-13 13:34   
Repository: erp/stable/2.50
Changeset: 074104a1d8e283f315186c987890fef272145083
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 13 13:18:53 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/074104a1d8e283f315186c987890fef272145083 [^]

Related to issue 16743. Reformat file

---
M src/org/openbravo/base/model/ModelProvider.java
---
(0039039)
hgbot   
2011-07-13 13:34   
Repository: erp/stable/2.50
Changeset: 43a7836496f5d7503cfb8dd8f7aeed4402dafdbe
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 13 13:33:25 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/43a7836496f5d7503cfb8dd8f7aeed4402dafdbe [^]

Fixed issue 16743.Datasets shouldn't have formal changes when reexported.
Two changes have been made:
- Children BaseOBObjects will be sorted in the same way as their parents already were.
- List properties will now be generated with a defined order, as the Entities will now be created following a defined order

---
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/dal/xml/EntityXMLConverter.java
---
(0039062)
shuehner   
2011-07-14 15:20   
Tested in stable/2.50,pgsql (rev: 0f3b37dc266a). Now no random reordering happens when re-exporting the dataset. Review was already done for pi-cset. Changes for 2.50 are the same -> not reviewed again.