{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1185","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1185/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1185/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1185/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1185","id":57189790,"number":1185,"title":"Fix EZP-23971: if a user is removed while logged in, the session for tha...","user":{"login":"glye","id":289744,"avatar_url":"https://avatars.githubusercontent.com/u/289744?v=3","gravatar_id":"","url":"https://api.github.com/users/glye","html_url":"https://github.com/glye","followers_url":"https://api.github.com/users/glye/followers","following_url":"https://api.github.com/users/glye/following{/other_user}","gists_url":"https://api.github.com/users/glye/gists{/gist_id}","starred_url":"https://api.github.com/users/glye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glye/subscriptions","organizations_url":"https://api.github.com/users/glye/orgs","repos_url":"https://api.github.com/users/glye/repos","events_url":"https://api.github.com/users/glye/events{/privacy}","received_events_url":"https://api.github.com/users/glye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T15:31:41Z","updated_at":"2015-02-10T17:32:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1185","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1185","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1185.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1185.patch"},"body":"...t user will cause a fatal error\r\n\r\nTest if the user exists by reloading it. If it doesn't, login anonymous user.\r\n\r\nThis is certainly NOT the way to fix this issue (though it does fix the reported bug), but I could use some feedback on a better way to fix it."},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/73743805","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1185#issuecomment-73743805","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1185","id":73743805,"user":{"login":"andrerom","id":289757,"avatar_url":"https://avatars.githubusercontent.com/u/289757?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerom","html_url":"https://github.com/andrerom","followers_url":"https://api.github.com/users/andrerom/followers","following_url":"https://api.github.com/users/andrerom/following{/other_user}","gists_url":"https://api.github.com/users/andrerom/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerom/subscriptions","organizations_url":"https://api.github.com/users/andrerom/orgs","repos_url":"https://api.github.com/users/andrerom/repos","events_url":"https://api.github.com/users/andrerom/events{/privacy}","received_events_url":"https://api.github.com/users/andrerom/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T17:32:01Z","updated_at":"2015-02-10T17:32:01Z","body":"I guess this approach might have quite some performance impact, lets ping @lolautruche for alternative approaches maybe."}}