Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032040Openbravo ERPY. DBSourceManagerpublic2016-01-28 13:152016-03-17 10:56
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0PR16Q2 
alostale
Core
No
0032040: Make the ExportSampleData class extensible
As part of the multiserver project, there is a need to export the data relative to specific organization (stores). This task will be very similar to the ExportSampleData task, but this task is still not ready to be extended.

The ExportSampleData class should be updated to be made more extensible so that it supports:
- To define the dataset used in the export process
- To define the way each table is exported to XML
- To define how the where clause of the dataset table should be managed
-
No tags attached.
Issue History
2016-01-28 13:15AugustoMauchNew Issue
2016-01-28 13:15AugustoMauchAssigned To => AugustoMauch
2016-01-28 13:15AugustoMauchModules => Core
2016-01-28 13:15AugustoMauchTriggers an Emergency Pack => No
2016-02-03 12:24AugustoMauchSummaryCreate a task to export the non-source data relative to an organization => Make the ExportSampleData class extensible
2016-02-03 12:24AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=10873#r10873
2016-02-03 12:24AugustoMauchProposed Solution updated
2016-02-15 18:50AugustoMauchReview Assigned To => alostale
2016-02-15 18:52hgbotCheckin
2016-02-15 18:52hgbotNote Added: 0084216
2016-02-15 18:52hgbotStatusnew => resolved
2016-02-15 18:52hgbotResolutionopen => fixed
2016-02-15 18:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/c4276db3db1d5f5ea5086d478193e0da059d17d5 [^]
2016-02-15 19:05hgbotCheckin
2016-02-15 19:05hgbotNote Added: 0084219
2016-02-15 19:05hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/dbsm-main/rev/c4276db3db1d5f5ea5086d478193e0da059d17d5 [^] => http://code.openbravo.com/erp/devel/pi/rev/d8b7a295fc30406c655789112b2c9e249708daa4 [^]
2016-02-19 10:32alostaleNote Added: 0084347
2016-02-19 10:32alostaleStatusresolved => closed
2016-02-19 10:32alostaleFixed in Version => 3.0PR16Q2
2016-03-17 10:56hudsonbotCheckin
2016-03-17 10:56hudsonbotNote Added: 0085140

Notes
(0084216)
hgbot   
2016-02-15 18:52   
Repository: erp/devel/dbsm-main
Changeset: c4276db3db1d5f5ea5086d478193e0da059d17d5
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Feb 15 15:10:39 2016 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/c4276db3db1d5f5ea5086d478193e0da059d17d5 [^]

Fixes issue 32040. Merges [extend-exportsampledata] project to pi

---
M src/org/openbravo/ddlutils/task/ExportSampledata.java
---
(0084219)
hgbot   
2016-02-15 19:05   
Repository: erp/devel/pi
Changeset: d8b7a295fc30406c655789112b2c9e249708daa4
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Feb 15 19:01:37 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d8b7a295fc30406c655789112b2c9e249708daa4 [^]

Fixes issue 32040: The ExportSampledata task can be extended

The task can now be extended by:
- Defining the dataset to be exported
- Defining how to manage the where clause of the dataset tables
- Defining the DatabaseDataIO implementation to use to export a table to XML
- Defining the folder where the data should be exported to

It is also supported to define a table several times in the same dataset, and each of the dataset tables will be exported to their own xml file.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0084347)
alostale   
2016-02-19 10:32   
code reviewed + tested
(0085140)
hudsonbot   
2016-03-17 10:56   
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/b22fb0500156 [^]
Maturity status: Test