{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/4495","repository_url":"https://api.github.com/repos/mysociety/alaveteli","labels_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4495/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4495/comments","events_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4495/events","html_url":"https://github.com/mysociety/alaveteli/issues/4495","id":293460889,"number":4495,"title":"[ERROR] announcements#destroy (ActionController::InvalidAuthenticityToken)","user":{"login":"garethrees","id":282788,"avatar_url":"https://avatars1.githubusercontent.com/u/282788?v=4","gravatar_id":"","url":"https://api.github.com/users/garethrees","html_url":"https://github.com/garethrees","followers_url":"https://api.github.com/users/garethrees/followers","following_url":"https://api.github.com/users/garethrees/following{/other_user}","gists_url":"https://api.github.com/users/garethrees/gists{/gist_id}","starred_url":"https://api.github.com/users/garethrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethrees/subscriptions","organizations_url":"https://api.github.com/users/garethrees/orgs","repos_url":"https://api.github.com/users/garethrees/repos","events_url":"https://api.github.com/users/garethrees/events{/privacy}","received_events_url":"https://api.github.com/users/garethrees/received_events","type":"User","site_admin":false},"labels":[{"id":64697,"url":"https://api.github.com/repos/mysociety/alaveteli/labels/bug","name":"bug","color":"ee0701","default":true},{"id":64696,"url":"https://api.github.com/repos/mysociety/alaveteli/labels/x:uk","name":"x:uk","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-01T09:34:58Z","updated_at":"2018-02-06T09:58:58Z","closed_at":null,"author_association":"MEMBER","body":"```\r\nAn ActionController::InvalidAuthenticityToken occurred in announcements#destroy:\r\n\r\nActionController::InvalidAuthenticityToken\r\nlib/strip_empty_sessions.rb:13:in `call'\r\n\r\n-------------------------------\r\nRequest:\r\n-------------------------------\r\n\r\n* URL : https://www.whatdotheyknow.com/announcements/1\r\n* HTTP Method: DELETE\r\n* Parameters : {\"controller\"=>\"announcements\", \"action\"=>\"destroy\", \"id\"=>\"1\"}\r\n* Timestamp : 2018-01-31 19:22:13 +0000\r\n\r\n-------------------------------\r\nSession:\r\n-------------------------------\r\n\r\n* session id: [FILTERED]\r\n* data: {\"session_id\"=>\"FILTERED\",\r\n\"locale\"=>\"en\",\r\n\"user_id\"=>151713,\r\n\"user_circumstance\"=>\"normal\",\r\n\"post_redirect_token\"=>\"mkwbhlvr5yn21c123bx\",\r\n\"ttl\"=>\"2018-01-31T19:18:22.287+00:00\",\r\n\"_csrf_token\"=>\"rQdxPreNFPi648faghyzyHqTWiX3SOpVz+FILTERED=\"}\r\n\r\n-------------------------------\r\nBacktrace:\r\n-------------------------------\r\n\r\nlib/strip_empty_sessions.rb:13:in `call'\r\n```"},"comment":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/comments/363371205","html_url":"https://github.com/mysociety/alaveteli/issues/4495#issuecomment-363371205","issue_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4495","id":363371205,"user":{"login":"garethrees","id":282788,"avatar_url":"https://avatars1.githubusercontent.com/u/282788?v=4","gravatar_id":"","url":"https://api.github.com/users/garethrees","html_url":"https://github.com/garethrees","followers_url":"https://api.github.com/users/garethrees/followers","following_url":"https://api.github.com/users/garethrees/following{/other_user}","gists_url":"https://api.github.com/users/garethrees/gists{/gist_id}","starred_url":"https://api.github.com/users/garethrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethrees/subscriptions","organizations_url":"https://api.github.com/users/garethrees/orgs","repos_url":"https://api.github.com/users/garethrees/repos","events_url":"https://api.github.com/users/garethrees/events{/privacy}","received_events_url":"https://api.github.com/users/garethrees/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T09:58:58Z","updated_at":"2018-02-06T09:58:58Z","author_association":"MEMBER","body":"I just replicated this.\r\n\r\n* Open app in tab; **sign out**.\r\n* Open app in another tab; **sign in**.\r\n* Go back to first tab; **close announcement**.\r\n* _The announcement gets cleared._\r\n* _We receive an exception notification._\r\n* **Sign out**.\r\n* _The announcement re-appears._"}}
{"actor":{"display_login":"garethrees"}}