Project:
View Revisions: Issue #44630 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0044630: Not possible to assign null value in multipath properties | ||
Revision | 2020-07-17 14:44 by caristu | ||
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 ... |
||
Revision | 2020-07-17 14:26 by caristu | ||
Steps To Reproduce | In description |
Copyright © 2000 - 2009 MantisBT Group |