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: "ambiguous match" error when exporting multiple indexers #197

Conversation

mlessmann
Copy link
Contributor

If an interface contains multiple indexers, but only one is ComVisible = true, dscom throws an unexpected exception "Ambiguous match found".

This is because dscom searched for the indexer property via its special name "get_Item". However, if multiple indexers exist this throws an exception.

Instead of searching for the propery by name we search by its getter or setter methods.

@mlessmann mlessmann changed the title Fix "ambiguous match" error when exporting multiple indexers fix: "ambiguous match" error when exporting multiple indexers Oct 12, 2023
@SOsterbrink SOsterbrink merged commit 7e50dcc into dspace-group:main Oct 16, 2023
4 checks passed
@mlessmann mlessmann deleted the FixAmbiguousMatchExceptionForDuplicateIndexers branch October 16, 2023 09:33
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

2 participants