{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13385","labels_url":"https://api.github.com/repos/owncloud/core/issues/13385/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13385/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13385/events","html_url":"https://github.com/owncloud/core/pull/13385","id":54446898,"number":13385,"title":"[WIP] Keep file ids when moving between storages","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-next","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":177,"closed_issues":0,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-01-16T10:58:41Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-01-15T13:05:39Z","updated_at":"2015-01-16T12:46:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/13385","html_url":"https://github.com/owncloud/core/pull/13385","diff_url":"https://github.com/owncloud/core/pull/13385.diff","patch_url":"https://github.com/owncloud/core/pull/13385.patch"},"body":"- [x] keep file id when moving file between storages\r\n- [ ] keep file id when moving folders between storages\r\n\r\n- [ ] test for possible side effects\r\n- [ ] unit tests\r\n\r\n@icewind1991 note, this is hacky and I'm afraid the change to the DB \"Cache\" class could cause some other side effects\r\n\r\nTentative fix for #13310 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/70248945","html_url":"https://github.com/owncloud/core/pull/13385#issuecomment-70248945","issue_url":"https://api.github.com/repos/owncloud/core/issues/13385","id":70248945,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T12:46:38Z","updated_at":"2015-01-16T12:46:38Z","body":"Hmm... and permissions might need updating too (which was done by `scanFile()`) .\r\nSo if we do that operation seperately, we need to do it in a way that reuses the logic from `scanFile()` somehow."}}