You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
User data is incorrectly erased in Keycloak Admin UI #22900
In the Attributes tab present in the user edition page, when adding new attributes, going to the Details tab and clicking on the Save button, the newly added attributes are deleted from the server.
The same behavior happens following the reverse way.
Version
22.0.1
Expected behavior
When editing the Attributes tab, the data from the Details tab must not be removed
When editing the Details tab, the data from the Attributes tab must not be removed
Actual behavior
When editing the Details tab, the data from the Attributes tab is removed
When editing the Attributes tab, the data from the Details tab is removed
How to Reproduce?
Open user edit page
Add data in the Attributes tab
Click on Save button
Select Details tab
Click on Save button
Go to Attributes tab again and press F5
You will notice that all attributes have been deleted from the server
The same behavior happens when we edit the Details tab, go to the Attributes tab and click on Save button, the basic data of user (e.g. firstName) will be removed
Activity
kaustubh-rh commentedon Sep 2, 2023
Hi @jonkoops @mposolda , the issue is reproducible , can I take this one ?
jonkoops commentedon Sep 2, 2023
Sure, go right ahead and take this. I recently started making some change to this code under #22851, which may or may not fix this issue.
jonkoops commentedon Sep 2, 2023
Before starting work on a fix, let me know if this issue is reproducible, so I can add the correct labels.
kaustubh-rh commentedon Sep 2, 2023
Hi @jonkoops , I just tested it , the PR #22851 fixes the issue as the issue is not reproducible.
jonkoops commentedon Sep 3, 2023
Thanks for testing that @kaustubh-rh, I'll link this issue so it will be closed automatically when the PR is merged.
Centralize user form to user representation conversion
Centralize user form to user representation conversion (#22925)