Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021310Openbravo ERPA. Platformpublic2012-08-04 03:112012-10-01 16:18
pjuvara 
alostale 
normalcriticalsometimes
closedno change required 
5
3.0MP12.1 
 
Core
No
0021310: Import client fails
Under some circumstances (not clear when), Import Client fails.

For example, if I start with a valid client in my source instance and I export it to the attached xml file, when I try to import it in the target instance, it fails with the following error:

Referenced object ADProcess (id: 473A3AA4C0F143BF900EB108B92618F1 / ADProcess473A3AA4C0F143BF900EB108B92618F1) not present in the xml or in the database. Referenced object ADProcess (id: FF80808131F60B750131F61B7B38000E / ADProcessFF80808131F60B750131F61B7B38000E) not present in the xml or in the database. Referenced object ADProcess (id: FFB782F2FB024533B5B52818D9FE3E0F / ADProcessFFB782F2FB024533B5B52818D9FE3E0F) not present in the xml or in the database. Referenced object ADForm (id: CD9FABFF742847A3BD76EB12F9E5ED1E / ADFormCD9FABFF742847A3BD76EB12F9E5ED1E) not present in the xml or in the database.
1) In an MP12.1 instance, copy the attached xml file in the [OBHOME]/referencedata/importclient directory
2) Run Import Client from system administrator
No tags attached.
related to feature request 0021813 new AugustoMauch Include installed module information when exporting a client 
xml client_data.xml (2,079,802) 2012-08-04 03:11
https://issues.openbravo.com/file_download.php?file_id=5490&type=bug
Issue History
2012-08-04 03:11pjuvaraNew Issue
2012-08-04 03:11pjuvaraAssigned To => alostale
2012-08-04 03:11pjuvaraFile Added: client_data.xml
2012-08-04 03:11pjuvaraModules => Core
2012-10-01 16:13AugustoMauchRelationship addedrelated to 0021813
2012-10-01 16:18AugustoMauchNote Added: 0052966
2012-10-01 16:18AugustoMauchStatusnew => closed
2012-10-01 16:18AugustoMauchResolutionopen => no change required

Notes
(0052966)
AugustoMauch   
2012-10-01 16:18   
The import process has failed because the target instance had missing some of the modules that were installed in the source instance.

Anyway, when this happens a meaningful message should be shown to the user, to give a hint as to why the process has failed. Right now this is not possible because the list of modules installed in the source instance is not included with the client data. A new feature request [1] has been reported to have this information included.

[1] https://issues.openbravo.com/view.php?id=21813 [^]