Openbravo Issue Tracking System - Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0041399 | Modules | External Integration Infrastructure | public | 2019-07-18 17:41 | 2019-08-19 10:29 |
Reporter | migueldejuana | ||||
Assigned To | caristu | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | AugustoMauch | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0041399: Identifies record univocally feature doesn't work with derived properties | ||||
Description | When we are mapping an Entity, if we set a Mapping Property as DirectPropertyMapping and Openbravo Property path: "client.id" it doesn't work. Otherwise, if we set Openbravo Property path: "uOM.name" for Product entity it works correctly. It happens when "Identifies record univocally" is checked. | ||||
Steps To Reproduce | 1- Install the External Integration Test module[1] 2- Apply the attached patch (testIssue41399.diff) which provides a test that processes an entity mapping with a One To Many property mapping whose corresponding value is null. Note that in this case, the One To Many property mapping is defined to accept null values. 3- Run the test. It fails with a CheckException. Stack trace error: org.openbravo.base.util.CheckException: Property organization.id does not exist for entity BusinessPartner at org.openbravo.base.util.Check.isNotNull(Check.java:72) at org.openbravo.base.model.Entity.getProperty(Entity.java:570) at org.openbravo.base.model.Entity.getProperty(Entity.java:552) at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getTargetProperty(DalSynchronizableBusinessObjectImporter.java:207) ... | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | testIssue41399.diff (8,756) 2019-08-13 13:49 https://issues.openbravo.com/file_download.php?file_id=13232&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-07-18 17:41 | migueldejuana | New Issue | |||
2019-07-18 17:41 | migueldejuana | Assigned To | => AugustoMauch | ||
2019-07-19 08:44 | migueldejuana | Description Updated | bug_revision_view_page.php?rev_id=19157#r19157 | ||
2019-08-13 13:25 | caristu | Summary | Entity Mapping Property doesn't work with client.id => Identifies record univocally feature doesn't work with derived properties | ||
2019-08-13 13:27 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=19302#r19302 | ||
2019-08-13 13:33 | caristu | File Added: testIssue41399.diff | |||
2019-08-13 13:34 | caristu | File Deleted: testIssue41399.diff | |||
2019-08-13 13:49 | caristu | File Added: testIssue41399.diff | |||
2019-08-13 13:52 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=19305#r19305 | ||
2019-08-13 13:57 | hgbot | Checkin | |||
2019-08-13 13:57 | hgbot | Note Added: 0113990 | |||
2019-08-13 13:57 | hgbot | Checkin | |||
2019-08-13 13:57 | hgbot | Note Added: 0113991 | |||
2019-08-13 13:57 | hgbot | Status | new => resolved | ||
2019-08-13 13:57 | hgbot | Resolution | open => fixed | ||
2019-08-13 13:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/e8e16d1169f606ebd29fd0a492e49845daddc57d [^] | ||
2019-08-13 13:58 | caristu | Assigned To | AugustoMauch => caristu | ||
2019-08-13 13:58 | caristu | Review Assigned To | => AugustoMauch | ||
2019-08-13 15:19 | hgbot | Checkin | |||
2019-08-13 15:19 | hgbot | Note Added: 0113994 | |||
2019-08-19 10:29 | AugustoMauch | Note Added: 0114064 | |||
2019-08-19 10:29 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|