Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Commented Issue: Selecting odata actions in $select clauses doesn't work as expected [1027]

$
0
0
Given an entityset with an Entity that has an action associated to it, when an odata client issues the following query:

BaseUrl/prefix/Customers?$select=Container.* the service should return the list of all the actions available to the customers on the feed.

BaseUrl/prefix/Customers?$select=Container.SomeAction the service should return the action when it's available.
Comments: BaseUrl/prefix/Customers?$select=Container.* fails when the content-type is application/json;odata=fullmetadata The problem is that the Id field is not present in the formatted objects so it fails when it tries to get the Id to generate the metadata links. Attached is a repro project of the bug.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>