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

Edited Unassigned: [OData] Incorrect use of EdmTypeCannotBeNull message [1558]

$
0
0
This resource string expects a simple type name, IEdmObject in particular, as the second parameter. Otherwise "an [1} cannot" doesn't scan.

Unfortunately EntityInstanceContext.GetPropertyValue() uses this message at line 189 and passes typeof(IEdmObject). Format() converts this to "System.Web.Http.OData.IEdmObject". Change this call to pass typeof(IEdmObject).Name or change this and the call in ODataMEdiaTypeFormatter.GetSerializer() to both pass .FullName then update the resource string to use "a {1} cannot".

Worse ODataSerializerContext.GetEdmType() at line 153 does not pass any parameters when using this resource string.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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