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

Legacy role conversation fields becomes empty after save #125

Open
Arsync opened this issue Jul 24, 2023 · 1 comment
Open

Legacy role conversation fields becomes empty after save #125

Arsync opened this issue Jul 24, 2023 · 1 comment
Labels
Keycloak bug A bug within Keycloak itself

Comments

@Arsync
Copy link

Arsync commented Jul 24, 2023

Fields like 'Console display name' and 'Rest client URI (required)' is filled, but legacy conversations empty.
Keycloak (in docker) version 20.0.2, 21.0.2

I've missed something in keycloak configuration or docker image settings?

@daniel-frak
Copy link
Owner

Hi! Sorry for getting to this so late.

It looks like there is indeed a bug, though the bug appears to be in Keycloak itself.

I have confirmed locally that saving a single value like this:
image

Ends up with the value seemingly gone:
image

However, it seems that the value is actually saved, if you look at the response JSON (the ROLE_MAP property):
image

Saving multiple values at once seems to show them correctly:
image

Therefore, it seems to be a cosmetic problem with Keycloak's UI.

Perhaps it's connected to the issue below:
keycloak/keycloak#24927

The correct approach would be to create an issue in the Keycloak repository (and describe the deserialization issues of MULTIVALUED_STRING_TYPE in Keycloak UI). Unfortunately, I don't have the time to investigate this further at the moment :(

As a silver lining, a problem like that is bound to be noticed by many people, so perhaps the issue will go away in Keycloak 25?

@daniel-frak daniel-frak added the Keycloak bug A bug within Keycloak itself label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Keycloak bug A bug within Keycloak itself
Projects
None yet
Development

No branches or pull requests

2 participants