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

Conflict should happen but does not #775

Open
nicolas-raoul opened this issue May 10, 2019 · 0 comments
Open

Conflict should happen but does not #775

nicolas-raoul opened this issue May 10, 2019 · 0 comments

Comments

@nicolas-raoul
Copy link
Contributor

  1. Start CmisSync
  2. Create file.txt on local side
  3. Suspend sync
  4. Edit the file on both local and remote, differently
  5. Resume sync

Expected: Conflict happens
Actually: Local side wins and overwrites remote side

2019-05-10 18:17:09,711 [3] DEBUG CmisSync.Lib.Watcher [(null)] - Changed: C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt
2019-05-10 18:17:10,273 [5] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - SyncInBackground: IsSyncing(): True
2019-05-10 18:17:10,273 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - syncWorker 514258921: starting work
2019-05-10 18:17:10,274 [6] INFO  CmisSync.Lib.RepoBase [(null)] -  Sync Started: C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data
2019-05-10 18:17:10,276 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:10,773 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:10,777 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:10,861 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:10,865 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - /Sites/test/documentLibrary/???????????/external-tests : C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data
2019-05-10 18:17:10,868 [6] DEBUG CmisSync.Lib.Watcher [(null)] - Clearing from change list: Changed: file.txt
2019-05-10 18:17:10,870 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Changed: C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt
2019-05-10 18:17:10,879 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Changed': C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt.
2019-05-10 18:17:10,907 [6] INFO  CmisSync.Lib.Database.Database [(null)] - Checksum of C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt has changed from 95A69B7E3D5405E2102EFF86B9DF701658405B89 to 7655B9FAE45166823E756F63C62155B824DF55A4
2019-05-10 18:17:10,916 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:10,979 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:10,995 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:11,037 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:11,058 [6] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Updating: C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt
2019-05-10 18:17:11,066 [6] DEBUG DotCMIS.Binding.AtomPub.ObjectService [(null)] - Link: https://myserver/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/file.txt?id=274583e5-b8f6-466c-985e-b4885c31fefa%3B1.0
2019-05-10 18:17:11,068 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:11,102 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:11,103 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - before SetContentStream
2019-05-10 18:17:11,124 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:11,297 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:11,299 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:11,348 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:11,349 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - after SetContentStream
2019-05-10 18:17:11,358 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:11,433 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:11,488 [6] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Updated: C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt
2019-05-10 18:17:11,489 [6] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Update C:\Users\nico\AppData\Local\Temp\CmisSync_test_5zorbo4e.5gg\data\file.txt: True
2019-05-10 18:17:11,491 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - 0 local changes to apply.
2019-05-10 18:17:11,491 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Invoke a remote change log sync
2019-05-10 18:17:11,492 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - About to call conn.GetResponse() with HttpWebRequest.Timeout=3600000ms and HttpWebRequest.ReadWriteTimeout=21600000ms
2019-05-10 18:17:13,413 [6] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - conn.GetResponse() result: System.Net.HttpWebResponse
2019-05-10 18:17:13,459 [6] DEBUG CmisSync.Lib.Cmis.CmisUtils [(null)] - Server:Alfresco Community token: 47005897
2019-05-10 18:17:13,461 [6] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - No changes to sync, tokens on server and client are equal: "47005897"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant