Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016320
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-03-16 12:002011-06-10 17:48
ReporterioritzCiaView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona488a723e624
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_22
OS VersionUbuntu 10.04Database version8.4Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016320: Failure ordering changes when exporting datasets.

DescriptionThe dataset exporting process creates some differences it should not have to.
Steps To Reproduce- 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.
TagsNo tags attached.
Attached Filesdiff file icon taxesDataset.diff [^] (920,929 bytes) 2011-03-16 12:00

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00167432.50MP32 closedmarvintm Failure ordering changes when exporting datasets. 
related to defect 0015973 closedAugustoMauch ant export.sample.data gives distinct output in oracle than in postgresql 

-  Notes
(0035222)
hgbot (developer)
2011-03-24 19:54

Repository: erp/devel/pi
Changeset: a488a723e6241de9a195bb4ab5ffaa22f959b46d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Mar 24 19:51:33 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a488a723e6241de9a195bb4ab5ffaa22f959b46d [^]

Fixed issue 16320. 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
---
(0035816)
dalsasua (reporter)
2011-04-11 13:27

A backport is required
(0038261)
shuehner (administrator)
2011-06-10 17:48

Reviewed/tested on pi-mp0 (rev: 8ab3332cfb89). Changeset change ordering of all rows inside a dataset once on next export. But after this one change the new order is stable and not changing row-ordering on each unrelated change in the dataset.
Technically also entity initialization in dal-startup is modified. However the new order is table and sensible (ordered by table-name and not unknown/internal-hashcode). -> Fine also -> Closing

- Issue History
Date Modified Username Field Change
2011-03-16 12:00 ioritzCia New Issue
2011-03-16 12:00 ioritzCia Assigned To => alostale
2011-03-16 12:00 ioritzCia File Added: taxesDataset.diff
2011-03-16 12:00 ioritzCia Modules => Core
2011-03-21 10:17 alostale Status new => scheduled
2011-03-21 10:17 alostale Assigned To alostale => marvintm
2011-03-21 10:17 alostale fix_in_branch => pi
2011-03-24 19:54 hgbot Checkin
2011-03-24 19:54 hgbot Note Added: 0035222
2011-03-24 19:54 hgbot Status scheduled => resolved
2011-03-24 19:54 hgbot Resolution open => fixed
2011-03-24 19:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a488a723e6241de9a195bb4ab5ffaa22f959b46d [^]
2011-04-11 13:27 dalsasua Note Added: 0035816
2011-04-11 13:27 dalsasua Status resolved => new
2011-04-11 13:27 dalsasua Resolution fixed => open
2011-04-11 13:27 dalsasua Status new => scheduled
2011-04-11 13:27 dalsasua Status scheduled => resolved
2011-04-11 13:27 dalsasua Resolution open => fixed
2011-06-10 17:48 shuehner Note Added: 0038261
2011-06-10 17:48 shuehner Status resolved => closed
2011-07-14 15:18 shuehner Relationship added related to 0015973


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker