Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014848Openbravo ERPA. Platformpublic2010-10-08 18:452022-02-01 08:08
marvintm 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0014848: Improvements in Import/Export Client
The Import/Export client needs to be improved in the following ways:

- Dynamic Dataset: currently, the entities exported in the client are defined as the ones contained in the Client dataset. However, this information doesn't need to be explicitly set, as it can be computed from the access level of the tables themselves. A better implementation would be to export every table in the system which has a correct access level.

- Structure validation: a requirement for this process is that the tables which are exported in the exported instance also exist in the instance in which the client is imported, and contain the same columns with the same datatypes. Currently, this is not checked. The idea would be to export the table structure inside the client file itself, and it would be read and validated by the importing instance, before the instance attempts to import the client.

- Issues with dataset import: if a client contains records cloned from a dataset, the references to those records are lost, and therefore are not defined as having been imported in the imported client. This information should also be exported inside the client, and the references should be correctly resolved when importing the client.
No tags attached.
related to defect 00145532.50MP23 closed marvintm Dataset 'Client Definition' --> There are tables that do not meet the validation 
Issue History
2010-10-08 18:45marvintmNew Issue
2010-10-08 18:45marvintmAssigned To => marvintm
2010-10-08 18:45marvintmTarget Version => 3.0
2010-10-18 16:18marvintmRelationship addedrelated to 0014553
2011-01-07 11:00hgbotCheckin
2011-01-07 11:00hgbotNote Added: 0033535
2011-01-07 11:07shuehnerIssue Monitored: shuehner
2011-01-07 11:49marvintmNote Added: 0033536
2011-01-10 18:41hudsonbotCheckin
2011-01-10 18:41hudsonbotNote Added: 0033569
2011-06-02 10:54dmitry_mezentsevTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-06-22 20:23dmitry_mezentsevTarget Version3.0MP2 => 3.0MP3
2011-08-31 10:12marvintmTarget Version3.0MP3 => 3.0MP4
2011-09-16 09:08roklenardicIssue Monitored: roklenardic
2011-09-26 17:53marvintmTarget Version3.0MP4 => 3.0MP5
2011-10-26 17:11marvintmTarget Version3.0MP5 => 3.0MP6
2011-11-15 10:26iperdomoTarget Version3.0MP6 =>
2017-12-17 17:43shuehnerAssigned Tomarvintm => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0033535)
hgbot   
2011-01-07 11:00   
Repository: erp/devel/pi
Changeset: 74e3b811299e6320497f7386e22aad9495e47fa8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Jan 07 10:58:49 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/74e3b811299e6320497f7386e22aad9495e47fa8 [^]

Disable ImportExportClientTest until issue 14848 is fixed

---
M src-test/org/openbravo/test/xml/ClientExportImportTest.java
---
(0033536)
marvintm   
2011-01-07 11:49   
Due to this issue, the ClientExportImportTest has been disabled. Once it is fixed, it should be enabled again.
(0033569)
hudsonbot   
2011-01-10 18:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/74e3b811299e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/67254b289f54 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19679.obx [^]