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: avoid inserting authenticator execution config with empty string as id #840

Merged
merged 1 commit into from
May 31, 2023

Conversation

kherock
Copy link
Contributor

@kherock kherock commented May 9, 2023

Fixes #839. To verify, I just did a targeted deploy of the example execution config resource on my local instance of Keycloak 21.1.1.

Maybe we should consider add the omitempty decorator to the other Id types since these will probably avoid similar errors for other resources that Keycloak supports importing with IDs?

@kherock kherock force-pushed the keycloak-21-1-execution-config branch from 5a705a6 to 92d84e3 Compare May 18, 2023 17:07
Copy link
Contributor

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, I confirmed locally that this fixes the issue you linked. I think it is reasonable to add omitempty to other ID fields, it shouldn't make a difference.

@mrparkers mrparkers merged commit 032c86d into keycloak:master May 31, 2023
@jseiser
Copy link

jseiser commented Jun 2, 2023

@mrparkers

Any chance we can get a release with this fix?

@kherock kherock deleted the keycloak-21-1-execution-config branch October 11, 2023 21:21
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.

Keycloak V21.1.1: Issue with keycloak_authentication_execution_config
3 participants