Skip to content

[stable-35.0] fix(file-provider): keep cached DAV roots out of item reports - #11445

Merged
claucambra merged 1 commit into
stable-35.0from
work/stable-35.0-file-provider-dav-root
Nov 27, 2026
Merged

claucambra merged 1 commit into
stable-35.0from
work/stable-35.0-file-provider-dav-root

Conversation

@claucambra

Copy link
Copy Markdown
Contributor

Summary

NextcloudKit can parse the Files root as an ordinary directory and Desktop can cache it under the server’s ID. When that row enters a working-set page or change batch, Desktop tries to resolve its parent at /remote.php/dav/files. The DAV guard rejects the lookup because that URL is above the account root, so the entire batch fails with cannotSynchronize.

Detect the cached record by matching the account’s exact Files root URL. Keep the record in Realm for server scans and omit it from item reports to macOS, which already tracks the same directory as .rootContainer.

NextcloudKit #279 addresses fresh DAV responses. This PR handles records already in the stable client’s cache. The corresponding GRDB handling is part of #11293.

Checklist

AI (if applicable)

Assisted-by: Codex:GPT-6
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@claucambra claucambra self-assigned this Nov 26, 2026
@claucambra claucambra added os: 🍎 macOS Apple macOS, formerly also known as OS X feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. labels Nov 26, 2026
@claucambra claucambra changed the title fix(file-provider): keep cached DAV roots out of item reports [stable-35.0] fix(file-provider): keep cached DAV roots out of item reports Nov 26, 2026
@claucambra claucambra added this to the 35.0.5 milestone Nov 26, 2026
@sonarqubecloud

Copy link
Copy Markdown

@claucambra
claucambra merged commit e833c67 into stable-35.0 Nov 27, 2026
19 of 21 checks passed
@claucambra
claucambra deleted the work/stable-35.0-file-provider-dav-root branch November 27, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: 📁 file provider macOS File Provider Extension, more general also known as virtual file system. os: 🍎 macOS Apple macOS, formerly also known as OS X

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants