[ 
https://issues.apache.org/jira/browse/OLINGO-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Reddy resolved OLINGO-865.
---------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.2.0

Fixed with 
https://github.com/apache/olingo-odata4/commit/8468308aeb2920e52d56b23101e59b3cf6b0e6f8

Many thanks to [~frederik.zimmer] for identifying the providing the patch.

> Derived types without odata.type annotation
> -------------------------------------------
>
>                 Key: OLINGO-865
>                 URL: https://issues.apache.org/jira/browse/OLINGO-865
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: Frederik Zimmer
>            Assignee: Ramesh Reddy
>             Fix For: (Java) V4 4.2.0
>
>         Attachments: 
> OLINGO865-Derived-types-without-odatatype-annotation.patch
>
>
> When serializing an entity or complex value with a derived type the 
> annotation odata.type is set for the entity or compley type. The annotations 
> aren't set in ODataJsonSerializer for properties of the entity or compley 
> type. So when I have an entity that has a property with a complex type and I 
> serialize the entity and the actual property value is derived from the 
> complex type no odata.type annotation is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to