{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18574","labels_url":"https://api.github.com/repos/owncloud/core/issues/18574/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18574/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18574/events","html_url":"https://github.com/owncloud/core/pull/18574","id":103213521,"number":18574,"title":"Properly show update exception in web UI","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/4%20-%20To%20release","name":"4 - To release","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":629,"closed_issues":509,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-08-26T13:18:39Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-08-26T08:58:56Z","updated_at":"2015-08-26T14:26:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/18574","html_url":"https://github.com/owncloud/core/pull/18574","diff_url":"https://github.com/owncloud/core/pull/18574.diff","patch_url":"https://github.com/owncloud/core/pull/18574.patch"},"body":"Properly displays CSRF errors and exceptions that happened during the update.\r\n\r\nThe problem was that the exceptions need to be piped through the event source to make it possible to display it.\r\n\r\nTo test:\r\n- trigger CSRF issue (or upgrade from stable8.1 to this branch to trigger https://github.com/owncloud/core/issues/18557)\r\n- add `throw new \\Exception('test exception')` in lib/private/updater.php in the `upgrade()` function then run the upgrade\r\n- run a regular upgrade\r\n\r\n@MorrisJobke @LukasReschke @icewind1991 @nickvergessen "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/135039889","html_url":"https://github.com/owncloud/core/pull/18574#issuecomment-135039889","issue_url":"https://api.github.com/repos/owncloud/core/issues/18574","id":135039889,"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-08-26T14:26:54Z","updated_at":"2015-08-26T14:26:54Z","body":"@owncloud-bot Retest this please"}}