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

BUGFIX: add the interface type if given when creating the proxy #198

Closed
wants to merge 3 commits into from
Closed

Conversation

drivera73
Copy link

The interface type value "_type" is already null if not given as a parameter. But if given, it's being ignored while constructing the RemoteObject reference that will eventually be proxied. This leads to method invocations failing with "strange" errors (inapplicable instances of "access denied", for instance).

This correction caused the methods to at least be invoked correctly, and a test that verifies that this doesn't happen again by accident.

The interface type value "_type" is already null if not given as a parameter. But if given, it's being ignored while constructing the RemoteObject reference that will eventually be proxied. This leads to method invocations failing with "strange" errors (access denied).

This correction caused the methods to at least be invoked correctly.
@hypfvieh
Copy link
Owner

Added patch and unit test. I had to change some stuff on the test to get it to work - but now it will fail without your patch and pass with your patch.
I also fixed the same issue in DirectConnection.

@hypfvieh hypfvieh closed this Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants