Skip to content

fix: stop sending the cached space name on space and quota updates - #3705

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/space-stale-name
Oct 14, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/space-stale-name

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Space updates: description, icon, image, readme, quota and restore requests no longer send the cached name, so they don't undo a rename made elsewhere.
  • Admin user quota: the batch "Edit quota" no longer sends the user's display name as space name, which failed with 400 for names like "Dr. John Smith".

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest); PATCH without name (quota, description, restore) verified against a local OpenCloud backend
  • test case 1: QuotaModal sends only { quota } for a space named "Dr. John Smith"
  • test case 2: editing the description sends only { description }

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 f3457ed into main Oct 14, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/space-stale-name branch October 14, 2026 06:56
@openclouders openclouders mentioned this pull request Oct 14, 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.

Space and quota updates send the cached name: they undo renames made elsewhere and fail for user names with a dot

2 participants