{"action":"created","issue":{"url":"https://api.github.com/repos/aegif/CmisSync/issues/628","labels_url":"https://api.github.com/repos/aegif/CmisSync/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/aegif/CmisSync/issues/628/comments","events_url":"https://api.github.com/repos/aegif/CmisSync/issues/628/events","html_url":"https://github.com/aegif/CmisSync/issues/628","id":111884259,"number":628,"title":"problems with renaming documents and folders","user":{"login":"ivosm","id":13189759,"avatar_url":"https://avatars.githubusercontent.com/u/13189759?v=3","gravatar_id":"","url":"https://api.github.com/users/ivosm","html_url":"https://github.com/ivosm","followers_url":"https://api.github.com/users/ivosm/followers","following_url":"https://api.github.com/users/ivosm/following{/other_user}","gists_url":"https://api.github.com/users/ivosm/gists{/gist_id}","starred_url":"https://api.github.com/users/ivosm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivosm/subscriptions","organizations_url":"https://api.github.com/users/ivosm/orgs","repos_url":"https://api.github.com/users/ivosm/repos","events_url":"https://api.github.com/users/ivosm/events{/privacy}","received_events_url":"https://api.github.com/users/ivosm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aegif/CmisSync/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aegif/CmisSync/labels/linux","name":"linux","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-16T18:22:49Z","updated_at":"2015-10-17T05:24:06Z","closed_at":null,"body":"*Alfresco 5.0.d + Kubuntu + cmissync compiled now from master (shows: 2.4.0.0) and running during tests*\r\nTested more scenarios with faulty results in all cases. Renaming documents on desktop generally attempts delete the item on server an create a new one but the deletion is not successful, so that the result is having two items on the server. One with old and the second with new name. That in the first step and consequently in next step having two items on desktop as well. Moving documents works in a similar way. Renaming folders generally breaks synchronisation in some way.\r\n\r\n*Alfresco 5.0.d + Win7 + cmissync downloaded from web (2.3.3) and running during tests*\r\nOnly renaming document was tested but with the worst possible result. The document was really deleted a recreated. What means critical data lost, because of that means complete lost of meta-data. \r\n\r\nI don't know, if this is by design, known with solution planing in future or maybe something specific in my case. If this is worth an effort, I can help you in testing or documentation of behaviour. I understand, that these situations are the hard part of sync and not necessarily a blocker in all cases but should be well documented as well as the mapping between nodes and files/folders. E.g. parent/child assoc. other then cm:contains or docs having more cm:contains parents, ... Maybe I overlooked it. "},"comment":{"url":"https://api.github.com/repos/aegif/CmisSync/issues/comments/148886831","html_url":"https://github.com/aegif/CmisSync/issues/628#issuecomment-148886831","issue_url":"https://api.github.com/repos/aegif/CmisSync/issues/628","id":148886831,"user":{"login":"nicolas-raoul","id":99590,"avatar_url":"https://avatars.githubusercontent.com/u/99590?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-raoul","html_url":"https://github.com/nicolas-raoul","followers_url":"https://api.github.com/users/nicolas-raoul/followers","following_url":"https://api.github.com/users/nicolas-raoul/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-raoul/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-raoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-raoul/subscriptions","organizations_url":"https://api.github.com/users/nicolas-raoul/orgs","repos_url":"https://api.github.com/users/nicolas-raoul/repos","events_url":"https://api.github.com/users/nicolas-raoul/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-raoul/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T05:24:06Z","updated_at":"2015-10-17T05:24:06Z","body":"Hi ivosm,\r\n\r\nDeletion+recreation used to be a problem, it has been fixed a few months ago. Now renaming works and preserves all metadata, at least it works on Windows, but we haven't tested on Linux.\r\n\r\nWhen you rename a file locally, is it touched on the server *immediately*? Or after 15 seconds? If you could measure that time exactly that would help us find out whether CmisSync is using the old or new algorithm.\r\n\r\nThanks for your feedback! The huge majority of our paying customers are Windows, so we focus most of our financial efforts on Windows. We rely on the community to maintain the Linux version, that's why we decided to create CmisSync as open source :-)"}}