Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036103 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | have not tried | 2017-05-25 10:16 | 2017-06-15 12:22 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a71e9f9e791a | ||||
Projection | none | ETA | none | Target Version | 3.0PR17Q2.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036103: applying dataset fails if it contains properties not present in the target system | |||||||
Description | If a dataset contains information for properties that are not present in the instance that is being imported to, it fails. This situation can occur if Dataset was exported from a version that had that properties but the instance it's imported in is in a different version. | |||||||
Steps To Reproduce | 1. Revert patch for 0036092 2. Follow steps in 0036092 | |||||||
Proposed Solution | In most of the cases those properties are properly defaulted, not relevant or even with null value. It would be better not to fail but just to warn in log and continue. Note also the opposite case was already correctly ignored: this is, entity in target instance defining some properties the dataset has not because it was exported in a version they didn't exist. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0097413) hgbot (developer) 2017-06-15 11:19 |
Repository: erp/backports/3.0PR17Q2.1 Changeset: a71e9f9e791abe67c3c8787f5cd876a9c1c3f0a0 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Jun 15 11:18:01 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/a71e9f9e791abe67c3c8787f5cd876a9c1c3f0a0 [^] fixes issue 36103: dataset fails if it has properties not in target system Trying to apply a dataset with information for properties not present in target instance failed. Now in this case the property is just ignored and the process continues. --- M src/org/openbravo/dal/xml/XMLEntityConverter.java --- |
(0097419) AugustoMauch (administrator) 2017-06-15 12:18 |
Code reviewed and verified |
![]() |
|||
Date Modified | Username | Field | Change |
2017-05-25 12:42 | alostale | Type | defect => backport |
2017-05-25 12:42 | alostale | Target Version | => 3.0PR17Q2.1 |
2017-05-25 12:45 | alostale | Review Assigned To | => caristu |
2017-06-15 11:19 | hgbot | Checkin | |
2017-06-15 11:19 | hgbot | Note Added: 0097413 | |
2017-06-15 11:19 | hgbot | Status | scheduled => resolved |
2017-06-15 11:19 | hgbot | Resolution | open => fixed |
2017-06-15 11:19 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/78f84b2b36fccfcba18ccd75271a2acc436ddb01 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/a71e9f9e791abe67c3c8787f5cd876a9c1c3f0a0 [^] |
2017-06-15 11:19 | caristu | Assigned To | alostale => caristu |
2017-06-15 11:19 | caristu | Review Assigned To | caristu => AugustoMauch |
2017-06-15 12:18 | AugustoMauch | Note Added: 0097419 | |
2017-06-15 12:18 | AugustoMauch | Status | resolved => closed |
2017-06-15 12:22 | AugustoMauch | Fixed in Version | => 3.0PR17Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |