{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/6501","repository_url":"https://api.github.com/repos/owncloud/client","labels_url":"https://api.github.com/repos/owncloud/client/issues/6501/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/6501/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/6501/events","html_url":"https://github.com/owncloud/client/issues/6501","id":319221129,"number":6501,"title":"Selective sync misses modification before rename","user":{"login":"sagamusix","id":875883,"avatar_url":"https://avatars0.githubusercontent.com/u/875883?v=4","gravatar_id":"","url":"https://api.github.com/users/sagamusix","html_url":"https://github.com/sagamusix","followers_url":"https://api.github.com/users/sagamusix/followers","following_url":"https://api.github.com/users/sagamusix/following{/other_user}","gists_url":"https://api.github.com/users/sagamusix/gists{/gist_id}","starred_url":"https://api.github.com/users/sagamusix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagamusix/subscriptions","organizations_url":"https://api.github.com/users/sagamusix/orgs","repos_url":"https://api.github.com/users/sagamusix/repos","events_url":"https://api.github.com/users/sagamusix/events{/privacy}","received_events_url":"https://api.github.com/users/sagamusix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ckamm","id":833306,"avatar_url":"https://avatars0.githubusercontent.com/u/833306?v=4","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"assignees":[{"login":"ckamm","id":833306,"avatar_url":"https://avatars0.githubusercontent.com/u/833306?v=4","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/47","html_url":"https://github.com/owncloud/client/milestone/47","labels_url":"https://api.github.com/repos/owncloud/client/milestones/47/labels","id":3217933,"number":47,"title":"2.6.0","description":"","creator":{"login":"guruz","id":959327,"avatar_url":"https://avatars3.githubusercontent.com/u/959327?v=4","gravatar_id":"","url":"https://api.github.com/users/guruz","html_url":"https://github.com/guruz","followers_url":"https://api.github.com/users/guruz/followers","following_url":"https://api.github.com/users/guruz/following{/other_user}","gists_url":"https://api.github.com/users/guruz/gists{/gist_id}","starred_url":"https://api.github.com/users/guruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruz/subscriptions","organizations_url":"https://api.github.com/users/guruz/orgs","repos_url":"https://api.github.com/users/guruz/repos","events_url":"https://api.github.com/users/guruz/events{/privacy}","received_events_url":"https://api.github.com/users/guruz/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":2,"state":"open","created_at":"2018-03-26T15:15:16Z","updated_at":"2018-05-13T14:30:24Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2018-05-01T14:55:41Z","updated_at":"2018-05-15T07:02:58Z","closed_at":null,"author_association":"NONE","body":"### Expected behaviour\r\nWhen both modifying and renaming a file, it should be renamed and modified on the server.\r\n\r\n### Actual behaviour\r\nThe file was renamed on the server, but keeping the original content.\r\n\r\n### Steps to reproduce\r\n1. Modify a file\r\n2. Quickly afterwards, rename it.\r\n3. Wait for selective sync to pick up that the file moved to a new place\r\n4. Observe how it's moved on the server as well, but the server keeps the original version of the file.\r\n\r\n### Server configuration\r\nOperating system: Debian Jessie / Bananian\r\n\r\nWeb server: Apache 2.4\r\n\r\nDatabase: MySQL 5.5\r\n\r\nPHP version: 5.6\r\n\r\nownCloud version: 10.0.7\r\n\r\nStorage backend (external storage): Local\r\n\r\n### Client configuration\r\nClient version: 2.5.0-daily20180419 (build 9475)\r\n\r\nOperating system: Windows 7\r\n\r\n### Logs\r\n\r\nI can provide a client log privately if needed."},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/389064589","html_url":"https://github.com/owncloud/client/issues/6501#issuecomment-389064589","issue_url":"https://api.github.com/repos/owncloud/client/issues/6501","id":389064589,"user":{"login":"ckamm","id":833306,"avatar_url":"https://avatars0.githubusercontent.com/u/833306?v=4","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T07:02:58Z","updated_at":"2018-05-15T07:02:58Z","author_association":"MEMBER","body":"@ogoffart Generation number sounds useful.\r\n\r\nYes, this particular rename related problem would be solved with checksums. But the client also wouldn't upload changed files where size/mtime are unchanged. There a bunch of places where decisions are done only based on those two metadata fields."}}
{"actor":{"display_login":"ckamm"}}