{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15721","labels_url":"https://api.github.com/repos/owncloud/core/issues/15721/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15721/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15721/events","html_url":"https://github.com/owncloud/core/pull/15721","id":69296278,"number":15721,"title":"Fix read-only cache","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/4%20-%20To%20release","name":"4 - To release","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/backport-request","name":"backport-request","color":"006b75"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:federated-cloud-sharing","name":"feature:federated-cloud-sharing","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/sharing","name":"sharing","color":"e102d8"}],"state":"closed","locked":false,"assignee":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","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":39,"closed_issues":1500,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-25T06:15:06Z","due_on":"2015-07-07T04:00:00Z","closed_at":null},"comments":13,"created_at":"2015-04-18T10:35:50Z","updated_at":"2015-06-25T06:34:46Z","closed_at":"2015-04-21T14:30:56Z","pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/15721","html_url":"https://github.com/owncloud/core/pull/15721","diff_url":"https://github.com/owncloud/core/pull/15721.diff","patch_url":"https://github.com/owncloud/core/pull/15721.patch"},"body":"Most methods which ask for a cache entry don't explicitly check if the result === false and will happily try to use whatever the cache is sending them.\r\n\r\nThe problem is that if a share is in read-only mode, all answers to queries about a file or folder's existence will be unreliable: the cache always returns an array which will be interpreted as a valid cache result.\r\n\r\nThis PR only fixes the result returned by the read-only cache.\r\n\r\nFixes #15551\r\n\r\n@icewind1991 @PVince81 @nickvergessen \r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/115123710","html_url":"https://github.com/owncloud/core/pull/15721#issuecomment-115123710","issue_url":"https://api.github.com/repos/owncloud/core/issues/15721","id":115123710,"user":{"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},"created_at":"2015-06-25T06:34:46Z","updated_at":"2015-06-25T06:34:46Z","body":"@karlitschek ping"}}