[
https://issues.apache.org/jira/browse/OLINGO-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronny Bremer closed OLINGO-746.
-------------------------------
verified to work
> $select is ignored when serialising the output
> ----------------------------------------------
>
> Key: OLINGO-746
> URL: https://issues.apache.org/jira/browse/OLINGO-746
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.4
> Environment: Wildfly 9.0.1 Final, JDK 1.8, ODataServlet
> Reporter: Ronny Bremer
> Assignee: Christian Amend
> Priority: Minor
>
> When I use a $select=Col1,Col2 parameter in my ODataV2 server servlet
> implementation, it looks like the library is going to ignore that completely.
> I can successfully retrieve the SelectItemList from the uriInfo parameter in
> both readEntity() and readEntitySet() and I made sure, that my responseData
> parameter passed into EntityWriter.write does only contain the requested
> properties.
> However, the JSON/XML on the wire will still contain the entire schema with
> all unrequested properties set to null.
> This does not seem to be the intended behaviour, at least in my eyes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)