-
Notifications
You must be signed in to change notification settings - Fork 669
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
Conflict between file and folder is not handled #6312
Comments
Previously conflicts with a different type on both ends lead to sync errors. Now they are handled in the expected way: the local item gets renamed and the remote item gets propagated downwards. This also adds a unittest for the TYPE_CHANGE case. That one looks like parts of it might be unified with CONFLICT cases.
Previously conflicts with a different type on both ends lead to sync errors. Now they are handled in the expected way: the local item gets renamed and the remote item gets propagated downwards. This also adds a unittest for the TYPE_CHANGE case. That one looks like parts of it might be unified with CONFLICT cases.
Previously conflicts with a different type on both ends lead to sync errors. Now they are handled in the expected way: the local item gets renamed and the remote item gets propagated downwards. This also adds a unittest for the TYPE_CHANGE case. That one looks like parts of it might be unified with CONFLICT cases.
Previously conflicts with a different type on both ends lead to sync errors. Now they are handled in the expected way: the local item gets renamed and the remote item gets propagated downwards.
Hmm... while I'm testing this /me wonders if this would be a nice way to solve cash-clashes on the client (things like #5870 (comment) should get better with this same logic). Using conflicts could be a way (not sure if good or not) to solve part of the neverending story: #1348. What'cha think @ckamm? |
@SamuAlfageme Making case clashes conflicts creates the following problem:
It would probably be ok and better than the current error in cases where the clash is between a local and a remote file, and there are no clashing files on the remote. |
Fixed 🎉 - great catch @ckamm! |
Basic case:
The sync will not complete successfully. The same happens if the folder is local and the file is remote. Or if what used to be a file becomes a directory on one end while the file changes on the other end.
What should happen is the usual conflict behavior: The local item gets renamed and the remote item gets downloaded.
I have already started to work on this issue.
The text was updated successfully, but these errors were encountered: