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 deleting user references from the admin UI #5756

Conversation

JulianKniephoff
Copy link
Member

Fixes #5753, where a matterhoron-reference user could not be deleted, presumably because it wasn't found.

This was broken by #5062, and looks like a classic merge conflict resolution mistake to me. The result is that we look up the user we want to delete in the user and roles provider twice, and ignore the user reference provider, which happens to be null anyway, since it is never bound in the first place.

Fixes opencast#5753, where a `matterhoron-reference` user could not be
deleted, presumably because it wasn't found.

This was broken by opencast#5062, and looks like a classic merge conflict
resolution mistake to me. The result is that we look up the user we
want to delete in the user and roles provider twice, and ignore the
user reference provider, which happens to be `null` anyway, since it
is never bound in the first place.
@JulianKniephoff JulianKniephoff added bug ELAN Pull requests originating from ELAN e.V. labels Apr 23, 2024
@gregorydlogan gregorydlogan merged commit e8a4591 into opencast:r/14.x May 1, 2024
4 checks passed
@gregorydlogan gregorydlogan self-assigned this May 1, 2024
@JulianKniephoff JulianKniephoff deleted the fix-manually-deleting-aai-users branch May 13, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ELAN Pull requests originating from ELAN e.V.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants