[
https://issues.apache.org/jira/browse/OLINGO-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873477#comment-13873477
]
ASF subversion and git services commented on OLINGO-122:
--------------------------------------------------------
Commit 6bfbe8fb82127a6eda20e1e77157fed4c2651f6a in branch refs/heads/master
from [~mirbo]
[
https://git-wip-us.apache.org/repos/asf?p=incubator-olingo-odata2.git;h=6bfbe8f
]
[OLINGO-122] Allow NULL data parameter and return NULL
> 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)