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

Return empty search result list when an LDAP error occurs. #51

Merged
merged 1 commit into from
Sep 7, 2019

Conversation

mauritsvanrees
Copy link
Contributor

Fixes issue #50.

@mauritsvanrees
Copy link
Contributor Author

cc @rnixx @fredvd

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 99.378% when pulling 8bad15e on zestsoftware:zest-catch-bad-search-filter into fdc39be on bluedynamics:master.

@rnixx
Copy link
Member

rnixx commented Sep 6, 2019

It would be interesting why a subsequent search after an error returns an empty result. Without trying with node.ext.ldap standalone, I guess the problem is somewhere in zope/plone integration.

Anyway I'm fine with catching the error inside the search function and logging a warning. Anyone else with concerns?

@rnixx
Copy link
Member

rnixx commented Sep 7, 2019

No objections? Good to go then.
Thank you!

@rnixx rnixx merged commit 940a3a2 into conestack:master Sep 7, 2019
@mauritsvanrees mauritsvanrees deleted the zest-catch-bad-search-filter branch September 7, 2019 09:37
@mauritsvanrees
Copy link
Contributor Author

Thank you.
This was the last fix I had planned for now, so a new beta release would be handy. But we know how to make an internal release when needed.

@rnixx
Copy link
Member

rnixx commented Sep 8, 2019

@mauritsvanrees
Copy link
Contributor Author

Danke!

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