Skip to content

fix (fileprovider): Consume lock ETags before File Provider content updates - #10641

Open
Rello wants to merge 6 commits into
masterfrom
bugfix/fileproviderfilelock
Open

fix (fileprovider): Consume lock ETags before File Provider content updates#10641
Rello wants to merge 6 commits into
masterfrom
bugfix/fileproviderfilelock

Conversation

@Rello

@Rello Rello commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Refresh the locked target after acquiring a WebDAV lock so the lock-generated ETag is consumed immediately.
  • Avoid sending the pre-lock If-Match header when an exclusive lock token is present.
  • Add regression coverage for lock ETag propagation and upload preconditions.

Testing

  • Added and updated Swift tests for lock creation and locked-item modification.
  • Not run (not requested).

Dependent on nextcloud/NextcloudKit#249

Assisted-by: Codex:GPT-5

Rello added 3 commits August 20, 2026 13:37
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
@Rello Rello self-assigned this Aug 21, 2026
@Rello Rello 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 Aug 21, 2026
@Rello Rello changed the title Consume lock ETags before File Provider content updates fix (fileprovider): Consume lock ETags before File Provider content updates Aug 21, 2026
Rello added 3 commits August 25, 2026 21:59
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Rello <Rello@users.noreply.github.com>
@Rello
Rello marked this pull request as ready for review August 25, 2026 20:05
@github-actions

Copy link
Copy Markdown
Contributor

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

Digest: sha256:708c9585ef2b6ba2b0dc79176dbf696748bbd89a5e8a3fe0e19a939b7a3845ca

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.

@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant