[
https://issues.apache.org/jira/browse/OLINGO-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239427#comment-14239427
]
Christian Holzer commented on OLINGO-503:
-----------------------------------------
See https://issues.apache.org/jira/browse/OLINGO-499
> Incorrect JSON-Serialization of Collections of abstract complex Properties
> --------------------------------------------------------------------------
>
> Key: OLINGO-503
> URL: https://issues.apache.org/jira/browse/OLINGO-503
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: V4 4.0.0-beta-01, (Java) V4 4.0.0-beta-02
> Reporter: Michael Burwig
>
> Affected Method:
> {{org.apache.olingo.server.core.serializer.json.ODataJsonSerializer.entity(...)}}
> Scenario:
> An entity type has a property of the type *Collection(AC)*, where *AC* is an
> abstract complex property type that serves as a base type for various complex
> types *AC_i* (i = 1...n).
> Issue:
> At request time, {{ODataJsonSerializer.entity(...)}} eventually calls
> {{ODataJsonSerializer.writeComplexValue(edmCmplxType, properties)}}
> and iterates over each property that is defined as part of type *AC* but
> ignores any properties that are defined for the actual property
> implementation *AC_i*.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)