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 wrong checks of empty string in LdapUser context #6211

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

gerlingsm
Copy link
Contributor

In the following commit ".isEmpty()" was replaced with "StringUtils.isBlank".
But unfortunately the negation of the calls has been lost which is why they are now testing the opposite of what they should.
This merge request should fix the error.
fix #6210

use dedicated, negated check instead of manually negating positive check

Co-authored-by: Arved Solth <[email protected]>
@solth solth merged commit 02182a6 into kitodo:master Sep 4, 2024
5 checks passed
@solth
Copy link
Member

solth commented Sep 4, 2024

@gerlingsm thank you for incorporating the change requests. Would you mind opening a corresponding bugfix branch against the 3.7.x branch?

@gerlingsm
Copy link
Contributor Author

@gerlingsm thank you for incorporating the change requests. Would you mind opening a corresponding bugfix branch against the 3.7.x branch?

No problem, I have opened a corresponding pull request #6217

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.

Can't write LDAP configuration in 3.7 (or newer)
2 participants