Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044630 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] External Integration Infrastructure | minor | have not tried | 2020-07-17 14:25 | 2020-07-24 09:03 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a6c24088604a | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | AugustoMauch | |||||||
Support ticket | ||||||||
OBNetwork customer | Gold | |||||||
Regression introduced in release | ||||||||
Summary | 0044630: Not possible to assign null value in multipath properties | |||||||
Description | Currently it is not possible to assign a null value into a property defined as multipath. | |||||||
Steps To Reproduce | 1) Install the org.openbravo.service.external.integration.tests module. 2) Apply the attached test.diff path that contains a change that allows to reproduce the issue 3) Run the BusinessPartnerImportTest. Note that the importating is not done due to the mapping of the "Title" property. This property is defined as multipath ("greeting.name") and to accept null values, but when providing a null value for that property the import fails. Stack trace of the error: java.security.InvalidParameterException: No entry found in Greeting with name = null at org.openbravo.service.external.integration.mapping.DirectPropertyMapping.getReferencedRecord(DirectPropertyMapping.java:157) at org.openbravo.service.external.integration.mapping.DirectPropertyMapping.setMappingValue(DirectPropertyMapping.java:131) at org.openbravo.service.external.integration.mapping.DirectPropertyMapping.setMappingValue(DirectPropertyMapping.java:1) at org.openbravo.service.external.integration.mapping.PropertyMapping.importMappingValue(PropertyMapping.java:126) at ... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||
|
![]() |
|
(0121511) caristu (viewer) 2020-07-17 14:54 |
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.external.integration/-/merge_requests/3 [^] |
(0121590) hgbot (developer) 2020-07-23 18:20 |
Repository: erp/pmods/org.openbravo.service.external.integration Changeset: a6c24088604a699cdfe4d83a5e6285d30f5f0124 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Jul 17 14:53:06 2020 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/a6c24088604a699cdfe4d83a5e6285d30f5f0124 [^] Fixes ISSUE-44630: support null value in import multi-path property --- M src/org/openbravo/service/external/integration/mapping/DirectPropertyMapping.java --- |
(0121591) hgbot (developer) 2020-07-23 18:22 |
Repository: erp/pmods/org.openbravo.service.external.integration.tests Changeset: 6efbe9cc2920440f9411648a837a486543b93608 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Jul 23 18:22:03 2020 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration.tests/rev/6efbe9cc2920440f9411648a837a486543b93608 [^] Related to ISSUE-44630: add test case --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml M src-test/org/openbravo/service/external/integration/test/_import/BusinessPartnerImportTest.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2020-07-17 14:25 | caristu | New Issue | |
2020-07-17 14:25 | caristu | Assigned To | => platform |
2020-07-17 14:25 | caristu | OBNetwork customer | => No |
2020-07-17 14:26 | caristu | Assigned To | platform => caristu |
2020-07-17 14:26 | caristu | Review Assigned To | => AugustoMauch |
2020-07-17 14:29 | caristu | Relationship added | blocks 0044631 |
2020-07-17 14:44 | caristu | Steps to Reproduce Updated | View Revisions |
2020-07-17 14:50 | caristu | File Added: test.diff | |
2020-07-17 14:54 | caristu | Note Added: 0121511 | |
2020-07-21 13:43 | sebastien_liron | OBNetwork customer | No => Gold |
2020-07-23 18:20 | hgbot | Checkin | |
2020-07-23 18:20 | hgbot | Note Added: 0121590 | |
2020-07-23 18:20 | hgbot | Status | new => resolved |
2020-07-23 18:20 | hgbot | Resolution | open => fixed |
2020-07-23 18:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/a6c24088604a699cdfe4d83a5e6285d30f5f0124 [^] |
2020-07-23 18:22 | hgbot | Checkin | |
2020-07-23 18:22 | hgbot | Note Added: 0121591 | |
2020-07-24 09:03 | caristu | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |