Users with CMS Admin Role don’t update correctly if you change User Details
Problem Statement
CMS Admin User Detail changes are reflected in the listing but not in the user details themselves and mismatches the changes in the listing (This is not true for non-cms administrators). The bug only exists with CMS Administrators.
https://github.com/user-attachments/assets/e54208cb-01ce-4a1c-ba84-c919edcca5be
Steps to Reproduce
Got to Settings > Users and edit the User Details on a CMS Adminstrator and click Save. The changes will be reflected in the listing but not the User Details
Acceptance Criteria
User Detail for CMS Admins needs to reflect any changes immediately after clicking on Save for all fields edited.
dotCMS Version
Tested on 25.05.05-1 demo.dotcms.com and on my instance running same version and on client server running latest LTS... so this issue has probably existed for at least a few iterations.
Proposed Objective
Application Performance
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://helpdesk.dotcms.com/a/tickets/30952 - this and a PP bug was found when troubleshooting this information.
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
This happens for any user you are logged in as. If you are logged in as Admin then the update to the name for the Admin user will not work, if you are logged in as another user then the update to that user will not work. The workaround is to log out as that user and log in as another user, but still the functionality should be to either not update the name at all or to update it everywhere.
PRs:
- https://github.com/dotCMS/core/pull/32465
Working as it should now.
https://github.com/user-attachments/assets/d66e3a58-7c0c-46c8-9500-8768c69b4c44