aegif / CmisSync

Synchronize content between a CMIS repository and your desktop. Like Dropbox for Enterprise Content Management!
http://CmisSync.com
164 stars 123 forks source link

Windows: moving a file/folder, trigger deleted+created event instead renamed event. #753

Open tuha305 opened 7 years ago

tuha305 commented 7 years ago

Since I move a file/folder from a folder to another folder on local, it was deleted and recreated on remote.

Tested with CmisSync 2.11.3.0 on Windows 10 Enterprise Version 1703, OS Build 15063.647, .Net Framework v4.7. Remote server is Alfresco Community - 5.0.0 using CMIS 1.1 AtomPub Service Document This may happen in all previous verions of CmisSync.

Ex: I've moved C:\Users\IEUser\CmisSync\192.168.10.196\-default-\User Homes\avatar .JPG to the folder C:\Users\IEUser\CmisSync\192.168.10.196\-default-\avatar .JPG

Debug log

2017-10-18 03:13:56,767 [8] INFO  CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Remote Full Crawl Finished : 00:00:00 min
2017-10-18 03:13:56,767 [8] INFO  CmisSync.Lib.RepoBase [(null)] - Full Sync Complete: C:\Users\IEUser\CmisSync\192.168.10.196\-default- , success=False
2017-10-18 03:14:03,877 [6] DEBUG CmisSync.Lib.Watcher [(null)] - Deleted: C:\Users\IEUser\CmisSync\192.168.10.196\-default-\User Homes\avatar .JPG
2017-10-18 03:14:03,877 [6] DEBUG CmisSync.Lib.Watcher [(null)] - Created: C:\Users\IEUser\CmisSync\192.168.10.196\-default-\avatar .JPG
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - SyncInBackground: IsSyncing(): True
2017-10-18 03:14:18,893 [4] INFO  CmisSync.Lib.RepoBase [(null)] - Partial Sync Started: C:\Users\IEUser\CmisSync\192.168.10.196\-default-
2017-10-18 03:14:18,893 [4] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - Timeout=3600000ms ReadWriteTimeout=21600000ms
2017-10-18 03:14:18,893 [4] DEBUG DotCMIS.Binding.Impl.HttpUtils [(null)] - Timeout=3600000ms ReadWriteTimeout=21600000ms
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - / : C:\Users\IEUser\CmisSync\192.168.10.196\-default-
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.Lib.Watcher [(null)] - Clearing from change list: Deleted: User Homes\avatar .JPG
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.Lib.Watcher [(null)] - Clearing from change list: Created: avatar .JPG
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Deleted: C:\Users\IEUser\CmisSync\192.168.10.196\-default-\User Homes\avatar .JPG
2017-10-18 03:14:18,893 [4] DEBUG CmisSync.StatusIconController [(null)] - StatusIconController OnSyncing
2017-10-18 03:14:18,908 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Processing 'Deleted': C:\Users\IEUser\CmisSync\192.168.10.196\-default-\User Homes\avatar .JPG.
2017-10-18 03:14:18,908 [4] DEBUG CmisSync.Lib.Grace [(null)] - Grace time reached
2017-10-18 03:14:19,080 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - 2 local changes to apply.
2017-10-18 03:14:19,080 [4] DEBUG CmisSync.StatusIconController [(null)] - StatusIconController OnSyncing

Thanks!