OData / WebApi

OData Web API: A server library built upon ODataLib and WebApi
https://docs.microsoft.com/odata
Other
856 stars 473 forks source link

V5.9 causes Object Reference Not Set errors on endpoints that 5.8 worked fine on #709

Closed JohnGalt1717 closed 8 years ago

JohnGalt1717 commented 8 years ago

And the endpoints aren't even being called with oData parameters. As a result we haven't been able to upgrade. Changing the return type from IQueryable to IEnumerable solves the issue for obvious reasons but then we lose oData.

VikingsFan commented 8 years ago

@JohnGalt1717 is there more detail about the error, or a repro is very important for us to investigate

VikingsFan commented 8 years ago

Close as two weeks no response, pls reopen this if you have detail info.

JohnGalt1717 commented 8 years ago

I'm trying to figure out how I can create a repro for you given that it's IQueryable against an Entity Framework database with proprietary DTOs with a custom Json formatter. I'd have to give you a database that it could query against, the dtos that it's mapping to, and the json formatter which is problematic.

VikingsFan commented 8 years ago

@JohnGalt1717 maybe you can refer to our E2E test to create a small repro. https://github.com/OData/WebApi/tree/master/OData/test/E2ETest/WebStack.QA.Test.OData

VikingsFan commented 8 years ago

Close this issue as no-repro details, please open a new issue with detail information.