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

Fix invocation interception for grain extensions #2514

Merged
merged 1 commit into from Dec 14, 2016

Conversation

ReubenBond
Copy link
Member

I broke the PreInvocationCallbackWithStreamTest test with #2502.
The test checks that IGrainExtensions can have their methods intercepted by grains. Previously we were passing a null MethodInfo parameter to the interceptor, since the correct implementation method could not be found.

#2502 broke that by throwing an exception in the event that an implementation method cannot be found.

This PR fixes it again by mapping the interface method to the extension method in the event that the incoming request is destined for the extension object.

As you can see, it's a very simple fix. Functionals are running.

@ReubenBond
Copy link
Member Author

@dotnet-bot test this please

@ReubenBond
Copy link
Member Author

Tested, working

@xiazen xiazen merged commit ee699ba into dotnet:master Dec 14, 2016
@ReubenBond ReubenBond deleted the fix-extension-interception branch December 15, 2016 00:29
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants