-
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_federation: get the before mappers from before_comp
to fix UnboundLocalError
#8831
Conversation
changelogs/fragments/8831-fix-error-when-mapper-id-is-provided.yml
Outdated
Show resolved
Hide resolved
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #8849 🤖 @patchback |
…o fix `UnboundLocalError` (#8831) * fix: get the before mappers from `before_comp` * add changelog fragment * Adjust changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 2ae41fa)
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #8850 🤖 @patchback |
…o fix `UnboundLocalError` (#8831) * fix: get the before mappers from `before_comp` * add changelog fragment * Adjust changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 2ae41fa)
@fgruenbauer thanks for your contribution! |
…the before mappers from `before_comp` to fix `UnboundLocalError` (#8849) keycloak_user_federation: get the before mappers from `before_comp` to fix `UnboundLocalError` (#8831) * fix: get the before mappers from `before_comp` * add changelog fragment * Adjust changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 2ae41fa) Co-authored-by: fgruenbauer <[email protected]>
…the before mappers from `before_comp` to fix `UnboundLocalError` (#8850) keycloak_user_federation: get the before mappers from `before_comp` to fix `UnboundLocalError` (#8831) * fix: get the before mappers from `before_comp` * add changelog fragment * Adjust changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 2ae41fa) Co-authored-by: fgruenbauer <[email protected]>
…o fix `UnboundLocalError` (ansible-collections#8831) * fix: get the before mappers from `before_comp` * add changelog fragment * Adjust changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]>
SUMMARY
The module crashes if an id is provided for a mapper, see #8695 (comment).
The before mappers should be retrieved from the
before_comp
notbefore_mapper
.ISSUE TYPE
COMPONENT NAME
community.general.keycloak_user_federation
ADDITIONAL INFORMATION