Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037218Openbravo ERPY. DBSourceManagerpublic2017-11-03 12:382017-11-06 13:06
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
3.0PR18Q1 
AugustoMauch
Core
No
0037218: Export Sampledata (and export.storedata) console output cleanup (don't show 0 rows exported)
Those tasks show 1 logline per table exported with the number of rows exported.

However if the number of rows is 0 for a table that output is not useful.

So removed it.

Note: dbsourcemanager has 3 implementation of that output
- export.sample.data xml format
- export.sample.data copy format
- export.storedata (for storeserver)
-
No tags attached.
Issue History
2017-11-03 12:38shuehnerNew Issue
2017-11-03 12:38shuehnerAssigned To => shuehner
2017-11-03 12:38shuehnerModules => Core
2017-11-03 12:38shuehnerTriggers an Emergency Pack => No
2017-11-03 12:38shuehnerReview Assigned To => AugustoMauch
2017-11-03 13:01hgbotCheckin
2017-11-03 13:01hgbotNote Added: 0100249
2017-11-03 13:02hgbotCheckin
2017-11-03 13:02hgbotNote Added: 0100251
2017-11-03 13:02hgbotStatusnew => resolved
2017-11-03 13:02hgbotResolutionopen => fixed
2017-11-03 13:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/785b45790683957284a63ba6afffe50f7ea86ab4 [^]
2017-11-06 13:06AugustoMauchNote Added: 0100284
2017-11-06 13:06AugustoMauchStatusresolved => closed
2017-11-06 13:06AugustoMauchFixed in Version => 3.0PR18Q1

Notes
(0100249)
hgbot   
2017-11-03 13:01   
Repository: erp/devel/dbsm-main
Changeset: 61c5fea745de9e3bb8fa013d78b1a7572cec7306
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Nov 03 12:39:49 2017 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/61c5fea745de9e3bb8fa013d78b1a7572cec7306 [^]

Issue 37218: Cleanup export.sample.data console output.

Skip lines with '0 records exported'.

---
M src/org/apache/ddlutils/io/DatabaseDataIO.java
M src/org/apache/ddlutils/platform/postgresql/PostgreSqlDatabaseDataIO.java
---
(0100251)
hgbot   
2017-11-03 13:02   
Repository: erp/devel/pi
Changeset: 785b45790683957284a63ba6afffe50f7ea86ab4
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Nov 03 12:46:23 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/785b45790683957284a63ba6afffe50f7ea86ab4 [^]

Fixed 37218: Cleanup console output of export.sample.data

by removing lines having '0 records exported'.
Do that for all 3 cases:
- export.sample.data (xml + copy export format)
- export.store.data

---
M src-db/database/lib/dbsourcemanager.jar
---
(0100284)
AugustoMauch   
2017-11-06 13:06   
Code reviewed and verified