fix(file-provider): Deletion of server-side item for items excluded from sync - #10534
Conversation
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
…rker Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
…ed item Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
…te to server Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
…dification Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
…n modifying bundle excluded from sync Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
/backport to stable-34.0 please |
|
|
Artifact containing the AppImage: nextcloud-appimage-pr-10534.zip Digest: 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. |
|
gave it another test with my error example - works nicely |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
|
Please note that this is not waterproof because of #10106. |



Resolves
#10521 (comment)
Summary
Returning
NSFileProviderError(.excludedFromSync)from an item creation or modification callback starts a system-managed removal sequence. It does not only report that the operation was rejected. This currently causes an item's standard deletion pipeline to be called, which culminates in a server deletion.This PR adds a marker for items excluded from sync to prevent this from happening.
Checklist