nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.01k stars 791 forks source link

[Bug]: Resolve conflicts dialog (Solve sync conflicts) incorrectly identifies local vs server versions dates #6727

Open kubuntu-newbie opened 5 months ago

kubuntu-newbie commented 5 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Solve sync conflicts dialog incorrectly shows the date for the server version and local versions (swapping them) resulting in a wrong decision on which files to keep. For example the server version of the file is 2 days old, the local version was modified today but the 'Solve sync conflicts' dialog shows local version as 2 days old and server version current

Steps to reproduce

restore the old backup of a user file (on a server) when there is a newer version in a folder that is being synced. the Desktop client will show 'conflict' and 'solve sync conflicts' dialog will swap the dates of the server and local files in the dialog

Expected behavior

dates for the files displayed in the 'solve sync conflicts' dialog should be correct, matching respective files

Which files are affected by this bug

any user file

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 23.10

Package

Distro package manager

Nextcloud Server version

Nextcloud Hub 6 (27.1.8) snap version

Nextcloud Desktop Client version

Version 3.9.0 (Ubuntu)

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

PhilippSchlesinger commented 5 months ago

@kubuntu-newbie The client version you use is nearly one year old and the problem you describe was solved in https://github.com/nextcloud/desktop/issues/5840 with corresponding PR https://github.com/nextcloud/desktop/pull/6043 The recent stable version is 3.12.4 (3.13.0 being just released but facing some bugs).