Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009400Openbravo ERP02. Master data managementpublic2009-06-09 11:522009-06-10 00:00
dalsasua 
rafaroda 
immediatecriticalalways
closedduplicate 
20Ubuntu 8.04Hardy
pi 
pi 
No
Core
No
0009400: Fails to export sample data
With a just-created database, if an ant export.sample.data is performed, an error is obtained, and, although a BUILD SUCCESFULL is shown, process do not end correctly:

[exportsampledata] 0 [main] ERROR org.openbravo.dal.xml.EntityXMLConverter - Object (with id:52118BF1A8614D84E040007F01005FEC): The value 1000002 used in this object is not valid, there is no Project with that id
[exportsampledata] 20 [main] ERROR org.openbravo.dal.xml.EntityXMLConverter - Object (with id:52118BF1A8624D84E040007F01005FEC): The value 1000003 used in this object is not valid, there is no Project with that id
[exportsampledata] 23 [main] ERROR org.openbravo.dal.xml.EntityXMLConverter - Object (with id:52118BF1A8664D84E040007F01005FEC): The value 1000007 used in this object is not valid, there is no Project with that id
[exportsampledata] 24 [main] ERROR org.openbravo.dal.xml.EntityXMLConverter - Object (with id:52118BF1A8674D84E040007F01005FEC): The value 1000008 used in this object is not valid, there is no Project with that id
In a fresh installation, modify any data from client Accounting Test.
Perform an ant export.sample.data
When exporting SmallBazar an error is obtained, and Accounting Test is not exported.
Fix AD_Tree_Node elements with ids 52118BF1A8614D84E040007F01005FEC, 52118BF1A8624D84E040007F01005FEC, 52118BF1A8664D84E040007F01005FEC, 52118BF1A8674D84E040007F01005FEC
No tags attached.
duplicate of defect 0008745pi closed gorkaion Project data in Small Bazaar sample data: tree node values in ad_treenode for tree PR point to non-existing projects 
Issue History
2009-06-09 11:52dalsasuaNew Issue
2009-06-09 11:52dalsasuaAssigned To => rafaroda
2009-06-09 11:52dalsasuaOBNetwork customer => No
2009-06-09 15:37dalsasuaPrioritynormal => immediate
2009-06-09 15:37dalsasuaSeveritymajor => critical
2009-06-09 17:00rafarodaRelationship addedduplicate of 0008745
2009-06-09 17:00rafarodaStatusnew => closed
2009-06-09 17:00rafarodaNote Added: 0017139
2009-06-09 17:00rafarodaDuplicate ID0 => 8745
2009-06-09 17:00rafarodaResolutionopen => duplicate
2009-06-10 00:00anonymoussf_bug_id0 => 2803810

Notes
(0017139)
rafaroda   
2009-06-09 17:00   
Hi David,

This issue is duplicated of 0008745

In order to export a new created client, you have to use Export Client capability.

In order to export sample clients (SmallBazaar and Accounting_Test):
* For exporting SmallBazaar just execute: ant export.sample.data
* For exporting Accounting_Test change SmallBazaar by Accounting_Test in src/build.xml (<exportsampledata userId="0" propertiesFile="${base.config}/Openbravo.properties" clients="SmallBazaar" />) then execute: ant export.sample.data