Skip to content

fix: reload the user after a partially failed save in the edit user panel - #4212

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/edit-user-partial-save
Nov 5, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/edit-user-partial-save

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When saving in "Edit user" fails partway, the list, the sidebar and Revert now show what was actually saved, and only the part that failed stays as an unsaved change, so it can be retried.

If something the server derives (like the remaining quota) changed with a saved step, the panel can still show "Unsaved changes" for it until Save or Revert.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: a partially failed save reloads the user and keeps only the failed changes as unsaved; an already saved password doesn't stay as unsaved
  • test case 2: browser: failing group add with name and email changes, revert, retry, password change and full success (desktop, panel on Pixel 7)

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 3666bfb into main Nov 5, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/edit-user-partial-save branch November 5, 2026 12:12
@openclouders openclouders mentioned this pull request Nov 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants