Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/use file id to track renamed items #7334

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

mgallien
Copy link
Collaborator

No description provided.

@mgallien mgallien added this to the 3.14.2 milestone Oct 16, 2024
@mgallien
Copy link
Collaborator Author

/backport to stable-3.12

@mgallien
Copy link
Collaborator Author

/backport to stable-3.13

@mgallien
Copy link
Collaborator Author

/backport to stable-3.14

@mgallien mgallien force-pushed the bugfix/useFileIdToTrackRenamedItems branch from 6cf55b0 to 2cf7a0c Compare October 16, 2024 13:20
why one would not update the modification time when modifying a remote
file during automated tests

there is no reason to not update the modification time as this is what
is done by the server

Signed-off-by: Matthieu Gallien <[email protected]>
NEW/NEW conflicts could sometime be ignored and replaced by update
metadata instructions

we stop doing this and handle them like any other conflicts

that would cause more download from the server

those conflicts would be solved automatically in case this is not a real
conflict but the client was missing the server reply with the updated
metadata

will enable more changes to improve MOVE detection from server side

Signed-off-by: Matthieu Gallien <[email protected]>
orignally added by owncloud/client#6632

most probably a too strong assumption on the behavior of the Nextcloud
server

better check real item metadata like fileid, size or modification time

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien mgallien force-pushed the bugfix/useFileIdToTrackRenamedItems branch from 2cf7a0c to 05b6db5 Compare October 17, 2024 07:46
@mgallien mgallien merged commit b59c7b4 into master Oct 17, 2024
1 of 2 checks passed
@mgallien mgallien deleted the bugfix/useFileIdToTrackRenamedItems branch October 17, 2024 07:46
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-7334-05b6db55c3da60366a05e00a7486309cdcdfc95e-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

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

Copy link

sonarcloud bot commented Oct 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants