You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Burwig (JIRA)" <ji...@apache.org> on 2014/12/01 16:34:12 UTC

[jira] [Created] (OLINGO-503) Incorrect JSON-Serialization of Collections of abstract complex Properties

Michael Burwig created OLINGO-503:
-------------------------------------

             Summary: 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)