Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021367Openbravo ERPA. Platformpublic2012-08-16 11:252012-08-29 18:25
AugustoMauch 
AugustoMauch 
immediatemajoralways
closedfixed 
5
 
3.0MP15 
migueldejuana
Core
Automated tests
2012-08-15
https://code.openbravo.com/erp/devel/pi/rev/5816fb3ef563bdd6cc955994a0c80519447b3ee7 [^]
No
0021367: Automated tests: DatasetExportTest has failed
The test DatasetExportTest due to the fix to issue 21187 [1]. The fix changed the way the dataset tables were retrieved to ensure not fetching inactive rows, and now it is fetching them from the database, while before it was done by using the getDataSetTableList method of the dataset instance. A consequence of this change is that users will not be able to export datasets that have not been saved in the database.

[1] https://issues.openbravo.com/view.php?id=21187. [^]
Run the DatasetExportTest automated test.
Instead of fetching the dataset tables from the database, use the getDataSetTableList method and filter out the inactive tables.
No tags attached.
related to defect 0021187 closed AugustoMauch Data set export should ignore inactive tables 
Issue History
2012-08-16 11:25AugustoMauchNew Issue
2012-08-16 11:25AugustoMauchAssigned To => AugustoMauch
2012-08-16 11:25AugustoMauchModules => Core
2012-08-16 11:26AugustoMauchRegression level => Automated tests
2012-08-16 11:26AugustoMauchRegression date => 2012-08-15
2012-08-16 11:26AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/5816fb3ef563bdd6cc955994a0c80519447b3ee7 [^]
2012-08-16 11:27AugustoMauchRelationship addedrelated to 0021187
2012-08-16 11:30hgbotCheckin
2012-08-16 11:30hgbotNote Added: 0051317
2012-08-16 11:30hgbotStatusnew => resolved
2012-08-16 11:30hgbotResolutionopen => fixed
2012-08-16 11:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cd2593599d457a380adc7b07a4233ebfa218b2d1 [^]
2012-08-29 18:25migueldejuanaClosed by => migueldejuana
2012-08-29 18:25migueldejuanaNote Added: 0051650
2012-08-29 18:25migueldejuanaStatusresolved => closed

Notes
(0051317)
hgbot   
2012-08-16 11:30   
Repository: erp/devel/pi
Changeset: cd2593599d457a380adc7b07a4233ebfa218b2d1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 16 11:29:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cd2593599d457a380adc7b07a4233ebfa218b2d1 [^]

Fixes issue 21367: Backout of fix of issue 21187

The fix of issue 21187 has been reverted. That issue will be reopened and its fix reimplemented.

---
M src/org/openbravo/service/db/DataExportService.java
---
(0051650)
migueldejuana   
2012-08-29 18:25   
Tested and reviewed pi@19952d22eb0a