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 08:27:20 UTC
[jira] [Created] (OLINGO-988) V4: ExpandOption created by the
deserializer contains duplicates in deep instert cases
Christian Amend created OLINGO-988:
--------------------------------------
Summary: 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.2.0, (Java) V4 4.1.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)