Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: 406 error from ODataMediaTypeFormatter if there is any exception from QueryableAttribute [416]

$
0
0
Download odata service sample: http://aspnet.codeplex.com/SourceControl/list/changesets
Upgrade odata package from myget nightly build: http://www.myget.org/F/aspnetwebstacknightly/
Run query:
http://localhost:50231/ProductFamilies?$filter=abc+eq+null
User-Agent: Fiddler
Host: localhost:50231
Accept: application/json;odata=verbose

It just return 406 error without any error information in response.

Comments: This has the same root cause as http://aspnetwebstack.codeplex.com/workitem/439. HttpErrors are not serializable by the ODataFormatter yet.

Viewing all articles
Browse latest Browse all 7215

Trending Articles