Skip to content

Edit user shows already saved changes as unsaved after a partial failure #4195

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When saving in "Edit user" fails partway, the changes that were already saved still show as unsaved, and the list and Revert show the old values while the server has the new ones. EditPanel.vue only reloads the user when every step succeeded.

Reproduction Steps

  1. As admin, open Edit user for a user
  2. Change the display name and add a group
  3. Delete that group in another session before saving
  4. Click Save

Expected Outcome

The panel and the list show what was actually saved, and only the failed part stays as unsaved.

Actual Outcome

"Failed to edit user" and the panel still says "Unsaved changes". The list and Revert show the old name and email, but the server already has the new ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions