Openbravo Issue Tracking System - Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0044630 | Modules | External Integration Infrastructure | public | 2020-07-17 14:25 | 2020-07-24 09:03 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | caristu | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
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 | 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 ... | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=14779&type=bug | ||||||||||||
Issue History | |||||||||||||
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 | bug_revision_view_page.php?rev_id=21370#r21370 | ||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|