{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/kura/issues/838","repository_url":"https://api.github.com/repos/eclipse/kura","labels_url":"https://api.github.com/repos/eclipse/kura/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/kura/issues/838/comments","events_url":"https://api.github.com/repos/eclipse/kura/issues/838/events","html_url":"https://github.com/eclipse/kura/issues/838","id":191669665,"number":838,"title":"[Web-UI] Invalid XSRF token exception when adding factory components","user":{"login":"nicolatimeus","id":8960773,"avatar_url":"https://avatars.githubusercontent.com/u/8960773?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolatimeus","html_url":"https://github.com/nicolatimeus","followers_url":"https://api.github.com/users/nicolatimeus/followers","following_url":"https://api.github.com/users/nicolatimeus/following{/other_user}","gists_url":"https://api.github.com/users/nicolatimeus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolatimeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolatimeus/subscriptions","organizations_url":"https://api.github.com/users/nicolatimeus/orgs","repos_url":"https://api.github.com/users/nicolatimeus/repos","events_url":"https://api.github.com/users/nicolatimeus/events{/privacy}","received_events_url":"https://api.github.com/users/nicolatimeus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-25T10:24:34Z","updated_at":"2016-11-28T09:01:21Z","closed_at":null,"body":"Clicking on the \"+\" button for adding factory components in the left panel may cause exceptions regarding invalid XSRF tokens.\r\nThis is caused by the fact that `EntryClassUi.initServicesTree()` is used in various parts of the code to refresh the services list, the problem is that this method also adds event handlers to the ui elements of the left panel.\r\nThis makes possible that when the \"+\" button is pressed multiple identical event handlers are triggered firing multiple concurrent rest requests that will fail due to the XSRF tokens."},"comment":{"url":"https://api.github.com/repos/eclipse/kura/issues/comments/263216769","html_url":"https://github.com/eclipse/kura/issues/838#issuecomment-263216769","issue_url":"https://api.github.com/repos/eclipse/kura/issues/838","id":263216769,"user":{"login":"ctron","id":202474,"avatar_url":"https://avatars.githubusercontent.com/u/202474?v=3","gravatar_id":"","url":"https://api.github.com/users/ctron","html_url":"https://github.com/ctron","followers_url":"https://api.github.com/users/ctron/followers","following_url":"https://api.github.com/users/ctron/following{/other_user}","gists_url":"https://api.github.com/users/ctron/gists{/gist_id}","starred_url":"https://api.github.com/users/ctron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctron/subscriptions","organizations_url":"https://api.github.com/users/ctron/orgs","repos_url":"https://api.github.com/users/ctron/repos","events_url":"https://api.github.com/users/ctron/events{/privacy}","received_events_url":"https://api.github.com/users/ctron/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T09:01:21Z","updated_at":"2016-11-28T09:01:21Z","body":"I have seen those errors every now and then even before using the + button. So maybe this is not solely related to it."}}
{"actor":{"display_login":"ctron"}}