3
Vote

Microsoft.Data.OData version issue at lib/windowsazure (orchard 1.x)

description

The versions of microsoft.data.edm and microsoft.data.odata libraries included at /lib/windowsazure of the latest commit of orchard 1.x do not support filtering of odata results using webapi controllers.

You can find more information here [ http://orchardodata.codeplex.com/ ] (Orchard.OData module) and the discussion about the problematic dll here [ http://aspnetwebstack.codeplex.com/workitem/721 ]

comments

fotisgpap wrote Sep 28, 2013 at 4:44 PM

latest version of 1.7.1 has the same faulty libraries

sebastienros wrote Oct 25, 2013 at 8:59 PM

I don't think these libraries should be already there actually. They are not used AFAIK

fotisgpap wrote Dec 13, 2013 at 10:57 PM

Orchard version 1.7.2 and these libraries are still there, referenced from Orchard.Azure.Web
The main problem is that these libs are intended to work with WebApi 5.0 and latest version of System.Web.Http and System.Web.Http.OData.
The webapi version referenced by Orchard is 4.0 so I cannot include a system.web.http.odata (version 5) for my webapi controller.

fotisgpap wrote Dec 13, 2013 at 11:01 PM

Additional comment: I ran a lot of tests and we cannot use webapi 4 with OData filtering and search in a webapi controller.
Latest version 4 libs of OData are broken as you can see in my previous posts and links. To support OData we need to upgrade libs of webapi to version 5 or use a working copy of Microsoft.Data.OData and Microsoft.Data.EDM also linked in my first post.

sebastienros wrote Aug 21 at 8:57 PM

Let's update the libraries if we think they are necessary, or remove them.