{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/3387","labels_url":"https://api.github.com/repos/owncloud/client/issues/3387/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/3387/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/3387/events","html_url":"https://github.com/owncloud/client/issues/3387","id":92274043,"number":3387,"title":"[UX] Gracefully handle 423 locked","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/client/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"},{"url":"https://api.github.com/repos/owncloud/client/labels/gold-ticket","name":"gold-ticket","color":"FFD700"}],"state":"open","locked":false,"assignee":{"login":"ckamm","id":833306,"avatar_url":"https://avatars.githubusercontent.com/u/833306?v=3","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/25","html_url":"https://github.com/owncloud/client/milestones/2.1-next","labels_url":"https://api.github.com/repos/owncloud/client/milestones/25/labels","id":1170965,"number":25,"title":"2.1-next","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":140,"closed_issues":36,"state":"open","created_at":"2015-06-18T15:57:49Z","updated_at":"2015-09-30T09:50:37Z","due_on":"2015-11-02T23:00:00Z","closed_at":null},"comments":5,"created_at":"2015-07-01T05:30:25Z","updated_at":"2015-09-30T12:38:59Z","closed_at":null,"body":"Whenever a file is locked on the server, the client might receive the HTTP 423 Locked status code.\r\nIt will then show a red warning sign on the system tray icon.\r\n\r\nSince this is an expected situation, I suggest to remove the warning sign and keep that failure silent. The client will usually try again later and it should succeed.\r\nThe client should still log the lock error in the activity log.\r\n\r\nMaybe if the file failed uploading after 5+ attempty, it can then start showing visual warnings to the user ?\r\n\r\nIn the future, once the server-side transactional locking (aka experimental locking aka high-level file locking) is in place (currently disabled by default), such locking situations might happen more often in high-concurrency setups.\r\n\r\nThis ticket is more about improving the user experience in case a file is temporarily locked that has hopefully a high chance of succeeding the next time, nothing the user should have to worry about.\r\n\r\nWhat do you think ? @dragotin @guruz @ogoffart \r\n\r\n@karlitschek as discussed"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/144384224","html_url":"https://github.com/owncloud/client/issues/3387#issuecomment-144384224","issue_url":"https://api.github.com/repos/owncloud/client/issues/3387","id":144384224,"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-09-30T12:38:59Z","updated_at":"2015-09-30T12:38:59Z","body":"@ckamm it can also happen for other operations, for example if you try moving a folder while one of the files inside is being written by another process (exclusive lock)."}}