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

[PR #7696/1389bba4 backport][stable-8] keycloak_user: avoid error when trying to delete a non-existing user #7756

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Dec 21, 2023

This is a backport of PR #7696 as merged into main (1389bba).

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:

  • keycloak_user: avoid deleting non-existent user
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

keycloak_user

ADDITIONAL INFORMATION

…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)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Dec 21, 2023
@felixfontein felixfontein merged commit 293aee5 into stable-8 Dec 21, 2023
120 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-8/1389bba4596d8dc062b7b058907d3bd294c85040/pr-7696 branch December 21, 2023 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants