{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20536","labels_url":"https://api.github.com/repos/owncloud/core/issues/20536/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20536/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20536/events","html_url":"https://github.com/owncloud/core/issues/20536","id":117138695,"number":20536,"title":"Received share to local user disappears from Webdav when LDAP server unavailable","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/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-16T14:41:13Z","updated_at":"2015-11-16T16:17:02Z","closed_at":null,"body":"### Steps\r\n\r\n1. Setup OC with a local admin user \"root\"\r\n1. Setup LDAP with zombies\r\n1. Login as \"zombie1\"\r\n1. Create a folder \"test\" with some files inside\r\n1. Share \"test\" with \"root\"\r\n1. Log out\r\n1. Run `curl -X PROPFIND http://root:admin@localhost/owncloud/remote.php/webdav/ | xmllint --format -`, check that the result contains the folder \"test\" => it does\r\n1. Turn off the LDAP server (I stopped the docker instance)\r\n1. Run the same command again, check if the folder \"test\" is there.\r\n\r\n### Expected result\r\nEither Webdav fails completely or the folder \"test\" appears still, but a PROPFIND on it should return \"503 Storage not available\".\r\n\r\n### Actual result\r\nThe folder \"test\" disappears from the Webdav result, which could cause the sync client to delete it locally. A PROPFIND on the folder directly gives a 404.\r\n\r\n### Versions\r\nObserved in OC 8.1.4 and master (9.0 pre-alpha).\r\n\r\nNote: this might be an edge case as we're sharing files between LDAP users and non-LDAP users.\r\n\r\n@blizzz @Xenopathic @icewind1991 \r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/157085116","html_url":"https://github.com/owncloud/core/issues/20536#issuecomment-157085116","issue_url":"https://api.github.com/repos/owncloud/core/issues/20536","id":157085116,"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-11-16T16:17:02Z","updated_at":"2015-11-16T16:17:02Z","body":"With the cache ttl set to 0 I get the same behavior on stable8.2."}}