You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2016/07/26 10:06:20 UTC

[jira] [Resolved] (OLINGO-988) V4: ExpandOption created by the deserializer contains duplicates in deep instert cases

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

Christian Amend resolved OLINGO-988.
------------------------------------
    Resolution: Fixed

Fixed with this commit: https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=44d6f5a1714809d89162ec52a8f3846aa19419c2

> V4: ExpandOption created by the deserializer contains duplicates in deep instert cases
> --------------------------------------------------------------------------------------
>
>                 Key: OLINGO-988
>                 URL: https://issues.apache.org/jira/browse/OLINGO-988
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.1.0, (Java) V4 4.2.0
>            Reporter: Christian Amend
>            Assignee: Christian Amend
>             Fix For: (Java) V4 4.3.0
>
>
> During the deserialization of deep instert payloads we create an ExpandOption object to help applications create the payload they have to send back to the client. Incase the deep insert payload contains a feed we create duplicate expand items for every entry within the inner feed. Since the serializer olny looks at the outer most ExpandOption the payload is incorrect.
> Solution: Prevent duplicate creation and have one SelectItem for every NavigationProperty.



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