Skip to content

fix(exclude): avoid trying to read patterns from file when reading failed#10335

Open
nilsding wants to merge 2 commits into
masterfrom
bugfix/10301/win32-cfapi-syncexclude
Open

fix(exclude): avoid trying to read patterns from file when reading failed#10335
nilsding wants to merge 2 commits into
masterfrom
bugfix/10301/win32-cfapi-syncexclude

Conversation

@nilsding

@nilsding nilsding commented Jul 9, 2026

Copy link
Copy Markdown
Member

Resolves

#10301

Summary

The Windows on-demand VFS creates placeholder files while the folders are being navigated to. This worked fine until a folder was opened which contains a folder-specific exclude patterns file: the sync engine would keep trying to read from the placeholder file forever.

--> resolve it by catching read errors in csync_exclude, and mark the exclude pattern file to be downloaded with the next sync while creating placeholders

Checklist

AI (if applicable)

nilsding added 2 commits July 9, 2026 15:44
…iled

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
…eating placeholder files

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@nilsding

nilsding commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/backport to stable-34.0 please

@nilsding

nilsding commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/backport to stable-33.0 please

@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
11 New Code Smells (required ≤ 0)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10335.zip

Digest: sha256:38070c757a259f0834448a8f7630ab73a135d23c5e32c49969836214828d0757

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant