{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/24255","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/24255/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/24255/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/24255/events","html_url":"https://github.com/owncloud/core/issues/24255","id":150888934,"number":24255,"title":"Scanner doesn't propagate etags any more when file changed","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":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/comp:filesystem","name":"comp:filesystem","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/green-ticket","name":"green-ticket","color":"00B85C"},{"url":"https://api.github.com/repos/owncloud/core/labels/regression","name":"regression","color":"e11d21"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/77","html_url":"https://github.com/owncloud/core/milestones/9.0.2-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/77/labels","id":1632540,"number":77,"title":"9.0.2-current-maintenance","description":null,"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":11,"closed_issues":51,"state":"open","created_at":"2016-03-09T09:57:18Z","updated_at":"2016-04-25T14:57:46Z","due_on":"2016-05-03T04:00:00Z","closed_at":null},"comments":4,"created_at":"2016-04-25T14:57:46Z","updated_at":"2016-04-25T15:26:02Z","closed_at":null,"body":"### Steps:\r\n\r\n1. Pick an external storage type (SFTP or SMB)\r\n1. Directly on the storage, create a folder \"updatetest/sub/test.txt\"\r\n1. Setup that external storage in ownCloud\r\n1. Close the web browser to avoid interferences (buildstoragestats, etc)\r\n1. Run `occ files:scan --all`\r\n1. Check database: `select fileid,path,size,mtime,storage_mtime,etag from oc_filecache where storage=3 order by path;`. Take note of etags.\r\n1. Change the contents of the file \"test.txt\" directly on the storage, not through ownCloud.\r\n1. Run `occ files:scan --all`\r\n1. Check database: `select fileid,path,size,mtime,storage_mtime,etag from oc_filecache where storage=3 order by path;`. Compare etags.\r\n\r\n### Expected result\r\nAfter the second scan, the etag and size of all parents were updated up to the storage root.\r\n\r\n### Actual result\r\nAfter the second scan, only the size changed but not the etag.\r\nOnly the etag of \"test.txt\" changed, and so does its \"storage_mtime\".\r\n\r\n### Versions\r\nWorks in ownCloud 8.2.3\r\nBroken in ownCloud 9.0.1\r\n\r\n@icewind1991 please help fixing this regression, thanks.\r\n\r\nCC @MorrisJobke @bboule "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/214393116","html_url":"https://github.com/owncloud/core/issues/24255#issuecomment-214393116","issue_url":"https://api.github.com/repos/owncloud/core/issues/24255","id":214393116,"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":"2016-04-25T15:26:02Z","updated_at":"2016-04-25T15:26:02Z","body":"@icewind1991 thanks a lot. Any reason why it wasn't triggered any more ? Or did it happen indirectly through the recent changes to propagation code ?"}}