Skip to content

fix: do not delete the destination of a move across spaces - #891

Merged
v-scharf merged 1 commit into
mainfrom
fix/move-overwrite-cross-space
Oct 21, 2026
Merged

v-scharf merged 1 commit into
mainfrom
fix/move-overwrite-cross-space

Conversation

@v-scharf

Copy link
Copy Markdown

A MOVE with Overwrite: T onto an existing file in another space returned 502, but the destination file was already deleted (it ended up in the trash bin of its owner). ocdav deleted the destination before the storage rejected the move across spaces.

Now ocdav returns 502 before deleting anything.

Fixes opencloud-eu/opencloud#3767

@v-scharf
v-scharf merged commit 10eb4b4 into main Oct 21, 2026
19 of 20 checks passed
@v-scharf
v-scharf deleted the fix/move-overwrite-cross-space branch October 21, 2026 07:42
@openclouders openclouders mentioned this pull request Oct 21, 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.

MOVE between spaces returns 502 but deletes the existing destination file

2 participants