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

HttpContext Items "ODataQueryOperation.Current" added twice #4

Open
mikehebert opened this issue Jun 20, 2013 · 0 comments
Open

HttpContext Items "ODataQueryOperation.Current" added twice #4

mikehebert opened this issue Jun 20, 2013 · 0 comments
Assignees
Labels

Comments

@mikehebert
Copy link

When querying with the "$inlinecount=allpages" option, ODataQueryProvider attempts to add the same key twice to the HttpContext.Current.Items collection.

ODataQueryProvider.cs, line 112 should be changed from:
HttpContext.Current.Items.Add("ODataQueryOperation.Current", operation);
to:
HttpContext.Current.Items["ODataQueryOperation.Current"] = operation;

@ghost ghost assigned oising Jun 24, 2013
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

2 participants