{"action":"opened","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1819","repository_url":"https://api.github.com/repos/Graylog2/graylog2-server","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1819/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1819/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1819/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/1819","id":133681973,"number":1819,"title":"Cannot remove alert receiver when user has been deleted","user":{"login":"kroepke","id":52014,"avatar_url":"https://avatars.githubusercontent.com/u/52014?v=3","gravatar_id":"","url":"https://api.github.com/users/kroepke","html_url":"https://github.com/kroepke","followers_url":"https://api.github.com/users/kroepke/followers","following_url":"https://api.github.com/users/kroepke/following{/other_user}","gists_url":"https://api.github.com/users/kroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/kroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroepke/subscriptions","organizations_url":"https://api.github.com/users/kroepke/orgs","repos_url":"https://api.github.com/users/kroepke/repos","events_url":"https://api.github.com/users/kroepke/events{/privacy}","received_events_url":"https://api.github.com/users/kroepke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Graylog2/graylog2-server/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/46","html_url":"https://github.com/Graylog2/graylog2-server/milestones/2.0.0","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/milestones/46/labels","id":1451974,"number":46,"title":"2.0.0","description":"","creator":{"login":"kroepke","id":52014,"avatar_url":"https://avatars.githubusercontent.com/u/52014?v=3","gravatar_id":"","url":"https://api.github.com/users/kroepke","html_url":"https://github.com/kroepke","followers_url":"https://api.github.com/users/kroepke/followers","following_url":"https://api.github.com/users/kroepke/following{/other_user}","gists_url":"https://api.github.com/users/kroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/kroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroepke/subscriptions","organizations_url":"https://api.github.com/users/kroepke/orgs","repos_url":"https://api.github.com/users/kroepke/repos","events_url":"https://api.github.com/users/kroepke/events{/privacy}","received_events_url":"https://api.github.com/users/kroepke/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":96,"state":"open","created_at":"2015-12-09T14:24:24Z","updated_at":"2016-02-15T10:44:08Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-15T10:44:08Z","updated_at":"2016-02-15T10:44:08Z","closed_at":null,"body":"When a stream alert has email receivers configured for a user, but the user has been deleted from the system in the meantime, we cannot remove the alert receiver anymore.\r\n\r\nSteps to reproduce:\r\n1) create user with an email address\r\n2) create a stream\r\n3) create an alert\r\n4) add user created in step 1 as alert receiver\r\n5) remove the user in system/users\r\n6) try to remove the user from the alert receiver section\r\n7) an error message appears \"cannot remove user\"\r\n8) user is still listed as alert receiver"}}