Last post Oct 27, 2015 10:22 PM by Weibo Zhang
Oct 26, 2015 10:39 AM|jochen_s4m|LINK
we are currently using the Package Microsoft.AspNet.OData 5.6.0 in a project. The Odata service has been setup according to
In order to obtain the URL of a referred entity, referred to by a navigatioj property we use the full metadata like e.g. http://localhost/MyResource(1)/MyNavigationProperty?$format=application/json;odata.metadata=full
where the odata.editLink annotation of the response provides the desired URL like e.g. http://localhost/MyReferencedResource(1) which we mainly need to patch the entity
Recentry we updated the dependency to the newer version 5.7.0 Microsoft.AspNet.OData. However now the odata.editLink annotation doesn't provides the desired URL. Instead an invalid URL is provided e.g. http://localhost/MyResource(1)/MyReferencedResource(1)
which basically does not resolve.
Can anybody confirm the observed behaviour? It looks like a bug to me, but I couldn't find a place where to report it. Is there an official bug tracker for ASP.net web API?
Oct 27, 2015 10:22 PM|Weibo Zhang|LINK
About the “odata.editLink annotation” shows wrong, I suggest you could provide a screenshot to explain the output. About where to report it, you could post your issue in the following links.
I hope it’s useful to you.