Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009573Openbravo ERPY. DBSourceManagerpublic2009-06-22 10:032009-10-06 11:50
dalsasua 
marvintm 
normalmajoralways
closedfixed 
20Ubuntu 8.04Hardy
pi 
pi2.50MP6 
Core
No
0009573: When importing sample data, also *.orig files are imported into database
When performing a install.source, if referencedata/sampledata/SmalLBazaar.xml has been modified and reverted, so a SmallBazar.xml.orig file has been created, then an error is thrown: duplicate ad_client.id This is because after importing SmallBazaar.xml, it tries to import, as well, the back up file creted in the revert SmallBazaar.xml.orig
1. Edit SmallBazaar.xml, located in referencedata/sampledata, do some modifications and save. (or do it the correct way: modify something in the client SmallBazaar through the application, and perform an export.sample.data ant task)
2. Do a hg revert referencedata/sampledata/SmalLBazaar.xml
3. Do a hg st to check that referencedata/sampledata/SmalLBazaar.xml.orig has been created
4. Perform an install.source. An error will be thrown in the import.sample.data task: duplicate ad_client.id
Change the import.sample.data task to take just *.xml files.
No tags attached.
Issue History
2009-06-22 10:03dalsasuaNew Issue
2009-06-22 10:03dalsasuaAssigned To => marvintm
2009-06-22 10:10rafarodaStatusnew => scheduled
2009-09-21 17:30hgbotCheckin
2009-09-21 17:30hgbotNote Added: 0020246
2009-09-21 17:30hgbotStatusscheduled => resolved
2009-09-21 17:30hgbotResolutionopen => fixed
2009-09-21 17:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ee6190515495b2290557d931b3c180eb733f931c [^]
2009-09-22 12:23psarobeStatusresolved => closed
2009-09-22 12:23psarobeFixed in Version => 2.50MP6
2009-09-23 00:00anonymoussf_bug_id0 => 2864612
2009-09-29 14:14hgbotCheckin
2009-09-29 14:14hgbotNote Added: 0020491
2009-09-29 14:14hgbotStatusclosed => resolved
2009-09-29 14:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/ee6190515495b2290557d931b3c180eb733f931c [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/ee6190515495b2290557d931b3c180eb733f931c [^]
2009-10-06 11:50psarobeStatusresolved => closed
2009-10-06 11:50psarobeNote Added: 0020770

Notes
(0020246)
hgbot   
2009-09-21 17:30   
Repository: erp/devel/pi
Changeset: ee6190515495b2290557d931b3c180eb733f931c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 21 17:15:53 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ee6190515495b2290557d931b3c180eb733f931c [^]

Fixed issue 9573. .orig files won't be imported on import.sample.data.

---
M src/org/openbravo/service/db/ImportReferenceDataTask.java
---
(0020491)
hgbot   
2009-09-29 14:14   
Repository: erp/devel/pi-pageddatagrid
Changeset: ee6190515495b2290557d931b3c180eb733f931c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 21 17:15:53 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/ee6190515495b2290557d931b3c180eb733f931c [^]

Fixed issue 9573. .orig files won't be imported on import.sample.data.

---
M src/org/openbravo/service/db/ImportReferenceDataTask.java
---
(0020770)
psarobe   
2009-10-06 11:50   
Closed again because hudson has reopened without no reason