Michael Bolz created OLINGO-122:
-----------------------------------
Summary: Exception for creation of entities with AnnotationService
Key: OLINGO-122
URL: https://issues.apache.org/jira/browse/OLINGO-122
Project: Olingo
Issue Type: Bug
Components: odata2-annotation
Affects Versions: V2 1.1.0
Reporter: Michael Bolz
Assignee: Michael Bolz
Fix For: V2 1.1.0
When a entity is created/updated with an empty (NULL) value for a complex type
this results in an exception.
{code}
org.apache.olingo.odata2.api.exception.ODataNotImplementedException
at
org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationValueAccess.getPropertyType(AnnotationValueAccess.java:79)
at
org.apache.olingo.odata2.annotation.processor.core.ListsProcessor.getStructuralTypeTypeMap(ListsProcessor.java:1566)
at
org.apache.olingo.odata2.annotation.processor.core.ListsProcessor.getStructuralTypeTypeMap(ListsProcessor.java:1568)
at
org.apache.olingo.odata2.annotation.processor.core.ListsProcessor.createEntity(ListsProcessor.java:357)
{code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)