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
New Admin UI: User attributes UI does not refresh, shows stale values #21719
I choose the user I want to change in the "search users" panel
I click on tab "Attributes", change the value of the attribute and click on Save
I click switch to the "Details" tab of the same user and click Save again
If I switch back to the "Attributes" tab, the new values are shown
If I reload the user by clicking on "Users" and choosing the user in the search panel, the old values are shown in the attributes tab (these old values are also stored in the database)
This does not happen if I do not execute step 4 (ie. save of the details tab after save on the attributes tab) - then the new values are stored correctly.
Version
21.1.2
Expected behavior
After saving the values in the attributes tab, the values will not be overwritten with the old values when saving the values again in the details tab.
Actual behavior
Clicking save on the details tab overwrites the new values which have been saved in the attributes tab with the old values before saving.
How to Reproduce?
Follow the steps above, can be reproduced in nightly.
I think this is an UI issue as I see the saving of the details sets back the old values in attributes in step 4. In my tests I see the new value in step 5 but, if the user is reloaded again (go back to users and select the same user again) the old value is present in the attributes.
No, it's probably related (as stated in the description), but 21693 is about group attributes and this one is about user attributes. Also, the errors are a little different, but I assume very much UI/caching related.
Activity
rmartinc commentedon Jul 17, 2023
I think this is an UI issue as I see the saving of the details sets back the old values in attributes in step 4. In my tests I see the new value in step 5 but, if the user is reloaded again (go back to users and select the same user again) the old value is present in the attributes.
ice09 commentedon Jul 17, 2023
That's correct, I have the same behaviour as @rmartinc described, I changed the description.
ssilvert commentedon Jul 17, 2023
@ice09 Is this not the same as the issue you opened a couple of days ago?
#21693
ice09 commentedon Jul 18, 2023
No, it's probably related (as stated in the description), but 21693 is about group attributes and this one is about user attributes. Also, the errors are a little different, but I assume very much UI/caching related.
now uses save from edit user
now uses save from edit user (#21809)
now uses save from edit user (keycloak#21809)
now uses save from edit user (#21809) (#22648)