-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
keycloak_user: avoid error when trying to delete a non-existing user #7696
Conversation
when force is set, but the user doesn't exist yet, this fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Could you please add a changelog fragment? Thanks.
Sorry, first time contributing here. Have added the trivial tag, hope I did it correctly. |
@michield since this is a bugfix it should be Also in case you added a commit, you didn't push it :) |
Ah, hang on. I need to read better. I added it to the description of this PR. I'll make it bugfix and will add the commit to this PR. |
add changelog entry
ok, done |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
changelogs/fragments/7696-avoid-attempt-to-delete-non-existing-user.yml
Outdated
Show resolved
Hide resolved
…-user.yml Co-authored-by: Felix Fontein <[email protected]>
If nobody objects in the next ~two weeks, I'll merge this. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7755 🤖 @patchback |
@michield thanks for your contribution! |
…7696) * avoid error when trying to delete a non-existing user when force is set, but the user doesn't exist yet, this fails. * 7696-avoid-attempt-to-delete-non-existing-user add changelog entry * rename changelog file * Update changelogs/fragments/7696-avoid-attempt-to-delete-non-existing-user.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 1389bba)
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #7756 🤖 @patchback |
…7696) * avoid error when trying to delete a non-existing user when force is set, but the user doesn't exist yet, this fails. * 7696-avoid-attempt-to-delete-non-existing-user add changelog entry * rename changelog file * Update changelogs/fragments/7696-avoid-attempt-to-delete-non-existing-user.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 1389bba)
…n trying to delete a non-existing user (#7755) keycloak_user: avoid error when trying to delete a non-existing user (#7696) * avoid error when trying to delete a non-existing user when force is set, but the user doesn't exist yet, this fails. * 7696-avoid-attempt-to-delete-non-existing-user add changelog entry * rename changelog file * Update changelogs/fragments/7696-avoid-attempt-to-delete-non-existing-user.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 1389bba) Co-authored-by: Michiel Dethmers <[email protected]>
…n trying to delete a non-existing user (#7756) keycloak_user: avoid error when trying to delete a non-existing user (#7696) * avoid error when trying to delete a non-existing user when force is set, but the user doesn't exist yet, this fails. * 7696-avoid-attempt-to-delete-non-existing-user add changelog entry * rename changelog file * Update changelogs/fragments/7696-avoid-attempt-to-delete-non-existing-user.yml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 1389bba) Co-authored-by: Michiel Dethmers <[email protected]>
when force is set, but the user doesn't exist yet, this fails.
SUMMARY
Tiny fix to avoid trying to delete a user that may not exist
trivial:
ISSUE TYPE
COMPONENT NAME
keycloak_user
ADDITIONAL INFORMATION