1

Closed

$metadata requests should throw an exception when there is no OData formatter registered using SetODataFormatter

description

Right now we just get a 406 with no error, because there are no formatters registered
Closed Jan 3 at 12:50 AM by hongyes
Verified

comments

HongmeiG wrote Oct 18, 2012 at 11:42 PM

We should throw a better exception and move the clean inside the if block.

youssefm wrote Oct 22, 2012 at 9:55 PM

Fixed, opted to remove SetODataFormatter and use the formatters collection instead:

http://aspnetwebstack.codeplex.com/SourceControl/changeset/471ea1e1967c