Skip to content

fix: report a created space when only some files could not be copied - #4252

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/space-from-selection-partial-copy
Nov 6, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/space-from-selection-partial-copy

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When some files can't be copied into a space created from a selection, a warning now says the space was created and not all files could be copied, instead of "Creating space failed…". If the content of a selected folder can't be listed, no empty space is created anymore.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: success with several files and with a single folder, createSpace failure, folder listing failure (no space created), partial copy failure incl. 425 (warning with all errors)
  • test case 2: browser: one failing COPY gives the warning and a space with the other files, selection reset; all copies OK; single folder copied to the space root; failing folder listing and failing space creation show "Creating space failed…" with no space created

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 ff138d0 into main Nov 6, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/space-from-selection-partial-copy branch November 6, 2026 10:55
@openclouders openclouders mentioned this pull request Nov 6, 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.

"Create Space from selection" says it failed when only some files couldn't be copied

2 participants