Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036104
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorhave not tried2017-05-25 10:162017-05-26 08:35
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1.2
StatusclosedFix in branchFixed in SCM revision738adc7b7139
ProjectionnoneETAnoneTarget Version3.0PR17Q1.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036104: applying dataset fails if it contains properties not present in the target system

DescriptionIf 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 Reproduce1. Revert patch for 0036092
2. Follow steps in 0036092
Proposed SolutionIn 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0036097 closedalostale applying dataset fails if it contains properties not present in the target system 

-  Notes
(0096795)
hgbot (developer)
2017-05-25 12:43

Repository: erp/backports/3.0PR17Q1.2
Changeset: 738adc7b71398ccacfca1384f9c7751d09928669
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 25 10:32:49 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/738adc7b71398ccacfca1384f9c7751d09928669 [^]

fixed bug 36104: 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
---
(0096829)
hgbot (developer)
2017-05-26 08:34

Repository: erp/backports/3.0PR17Q1.2
Changeset: 4798d19dd1c7145a41f3d2bd2defdbde7a6782ac
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri May 26 08:33:45 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/4798d19dd1c7145a41f3d2bd2defdbde7a6782ac [^]

related to issue 36104: fix typo

---
M src/org/openbravo/dal/xml/XMLEntityConverter.java
---
(0096830)
caristu (developer)
2017-05-26 08:35

Code reviewed + testing OK.

- Issue History
Date Modified Username Field Change
2017-05-25 12:42 alostale Type defect => backport
2017-05-25 12:42 alostale Target Version => 3.0PR17Q1.2
2017-05-25 12:43 hgbot Checkin
2017-05-25 12:43 hgbot Note Added: 0096795
2017-05-25 12:43 hgbot Status scheduled => resolved
2017-05-25 12:43 hgbot Resolution open => fixed
2017-05-25 12:43 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/78f84b2b36fccfcba18ccd75271a2acc436ddb01 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/738adc7b71398ccacfca1384f9c7751d09928669 [^]
2017-05-25 12:45 alostale Review Assigned To => caristu
2017-05-26 08:34 hgbot Checkin
2017-05-26 08:34 hgbot Note Added: 0096829
2017-05-26 08:35 caristu Note Added: 0096830
2017-05-26 08:35 caristu Status resolved => closed
2017-05-26 08:35 caristu Fixed in Version => 3.0PR17Q1.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker