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
A failed space duplicate leaves a hidden partial copy and retries reuse its name #4287
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 duplicating a space fails partway (e.g. one file copy fails), the error says it failed, but a half-filled copy stays on the server, hidden from the Spaces overview, and every retry creates another space with the same "(1)" name. useSpaceActionsDuplicate creates the drive first and only adds it to the stores on success, so the created space stays hidden and the next name check doesn't see it.
Reproduction Steps
Create a project space with a few files
Make one of the file copies fail (e.g. inject a 500 for its COPY)
Duplicate the space from the Spaces overview, then duplicate it again
Reload the page
Expected Outcome
The partial copy shows up in the Spaces overview so it can be fixed or deleted, the user is told that not every file was copied, and a retry picks a free name.
Actual Outcome
Only "Failed to duplicate space" is shown and no new space is listed. After a reload there are two " (1)" spaces with partial content.
Activity