{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17615","labels_url":"https://api.github.com/repos/owncloud/core/issues/17615/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17615/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17615/events","html_url":"https://github.com/owncloud/core/issues/17615","id":94738662,"number":17615,"title":"Federated share mount point disappears when 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/approved%20by%20qa","name":"approved by qa","color":"FBCA04"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:federated-cloud-sharing","name":"feature:federated-cloud-sharing","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/46","html_url":"https://github.com/owncloud/core/milestones/8.1.1-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/46/labels","id":1167392,"number":46,"title":"8.1.1-current-maintenance","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":26,"state":"open","created_at":"2015-06-16T19:39:31Z","updated_at":"2015-07-16T12:15:45Z","due_on":"2015-08-04T04:00:00Z","closed_at":null},"comments":8,"created_at":"2015-07-13T14:49:30Z","updated_at":"2015-07-16T12:33:31Z","closed_at":"2015-07-13T15:14:56Z","body":"### Steps to reproduce\r\n\r\n1. Create two users \"user1\" and \"user2\"\r\n1. Create a folder \"test\"\r\n1. Share \"test\" with \"user2@localhost/owncloud\" (or whichever path your local instance has)\r\n1. Login as \"user2\" and accept the share\r\n1. In the database, change the \"remote\" value in \"oc_share_external\" to one of a non-existing server\r\n1. Refresh the page\r\n1. Enter the folder \"test\"\r\n\r\n### Expected result\r\nFolder \"test\" is still visible.\r\nEntering the folder \"test\" should show an error message that it is currently not available.\r\n\r\n### Actual result\r\nFolder \"test\" is not present in the list.\r\nThis means that a connected sync client would delete all the files, and later redownload them once the share becomes available again.\r\n\r\n### Versions\r\nObserved on OC 8.2 git master (1006ec56ceb2c7c5bc14a5401d46767cb4b72e6c)\r\n\r\nI found that the \"propfind\" operation in the Dav class did not convert the exception to StorageNotAvailableException. Furthermore, the code path seemed to come from the scanner which now ignores generic exceptions and removes entries from the result list (could be due to recent changes regarding locking)\r\n\r\nCC @icewind1991\r\n\r\nI'll bisect this\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/121944162","html_url":"https://github.com/owncloud/core/issues/17615#issuecomment-121944162","issue_url":"https://api.github.com/repos/owncloud/core/issues/17615","id":121944162,"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-07-16T12:33:31Z","updated_at":"2015-07-16T12:33:31Z","body":"Removing labels, sorry for the confusion."}}