Skip to content

Discovery: Don't treat replaced virtual files as placeholders - #1232

Merged
TheOneRing merged 1 commit into
mainfrom
work/placeholder
Nov 9, 2026
Merged

TheOneRing merged 1 commit into
mainfrom
work/placeholder

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

A dehydrated virtual file that was replaced or overwritten locally without being hydrated first kept the virtual type from the journal, even after its new content was uploaded. The next change on the server then tried to create a placeholder over the existing file, which failed with 0x800700b7 "Couldn't create placeholder info", and the file was blacklisted.

Only use the virtual type from the journal while the local file is still a virtual file or was not scanned.

The new test runs on every backend. Also fix findConflict for files in the sync root and empty uploads in the fake server.

Fixes: #1224

A dehydrated virtual file that was replaced or overwritten locally
without being hydrated first kept the virtual type from the journal,
even after its new content was uploaded. The next change on the server
then tried to create a placeholder over the existing file, which failed
with 0x800700b7 "Couldn't create placeholder info", and the file was
blacklisted.

Only use the virtual type from the journal while the local file is
still a virtual file or was not scanned.

The new test runs on every backend. Also fix findConflict for files in
the sync root and empty uploads in the fake server.

Fixes: #1224
@TheOneRing
TheOneRing added this pull request to stack #1234 November 4, 2026 14:24
@TheOneRing
TheOneRing merged commit 1ed323a into main Nov 9, 2026
@TheOneRing
TheOneRing deleted the work/placeholder branch November 9, 2026 10:14
@openclouders openclouders mentioned this pull request Nov 13, 2026
1 task
@saw-jan saw-jan mentioned this pull request Nov 25, 2026
9 of 22 tasks
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.

[Bug] "Placeholder creation error" and file cannot be opened locally after an empty Excel file created in the web UI was synced

2 participants