Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OData+EF on inherited back-navigations #792

Open
Lingxi-Li opened this issue Aug 12, 2016 · 2 comments
Open

OData+EF on inherited back-navigations #792

Lingxi-Li opened this issue Aug 12, 2016 · 2 comments
Labels

Comments

@Lingxi-Li
Copy link

Forwarded from OData/odata.net#679.

@raffaeler
Copy link

Hi,
do you have any news on this?
Thanks

@mikepizzo
Copy link
Member

From the (partial) exception message (below, from the referenced codeplex issue), this seems to be an issue in EF. The error is coming from System.Data.Entity.Core.EntityClient. In any case, the exception is cut off in the codeplex issue so it's hard to tell if there is more useful information regarding the issue.

{ "error":{ "code":"","message":"An error has occurred.","innererror":{ "message":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; odata.metadata=minimal'.","type":"System.InvalidOperationException","stacktrace":"","internalexception":{ "message":"An error occurred while preparing the command definition. See the inner exception for details.","type":"System.Data.Entity.Core.EntityCommandCompilationException","stacktrace":" at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree, DbInterceptionContext interceptionContext, IDbDependencyResolver resolver, BridgeDataReaderFactory bridgeDataReaderFactory, ColumnMapFactory columnMapFactory)\r\n at ...

@mikepizzo mikepizzo added the P4 label May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants