{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/4118","labels_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4118/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4118/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4118/events","html_url":"https://github.com/puppetlabs/puppet/pull/4118","id":98318935,"number":4118,"title":"(PUP-1189) declare report handlers with overwrite","user":{"login":"binford2k","id":1392917,"avatar_url":"https://avatars.githubusercontent.com/u/1392917?v=3","gravatar_id":"","url":"https://api.github.com/users/binford2k","html_url":"https://github.com/binford2k","followers_url":"https://api.github.com/users/binford2k/followers","following_url":"https://api.github.com/users/binford2k/following{/other_user}","gists_url":"https://api.github.com/users/binford2k/gists{/gist_id}","starred_url":"https://api.github.com/users/binford2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binford2k/subscriptions","organizations_url":"https://api.github.com/users/binford2k/orgs","repos_url":"https://api.github.com/users/binford2k/repos","events_url":"https://api.github.com/users/binford2k/events{/privacy}","received_events_url":"https://api.github.com/users/binford2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/PR%20Triage","name":"PR Triage","color":"eb6420"},{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/Server","name":"Server","color":"eb6420"},{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/Triaged","name":"Triaged","color":"fef2c0"},{"url":"https://api.github.com/repos/puppetlabs/puppet/labels/Waiting%20on%20Contributor","name":"Waiting on Contributor","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-31T05:28:22Z","updated_at":"2015-08-04T17:19:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/4118","html_url":"https://github.com/puppetlabs/puppet/pull/4118","diff_url":"https://github.com/puppetlabs/puppet/pull/4118.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/4118.patch"},"body":"Previously, if a report handler failed during initialization, it wasn't\r\ncleaned up. So the second time a report was submitted, Puppet would try\r\nto instantiate a new class, and then fail because it had already been\r\ninstantiated. This instructs the class loader to overwrite if needed."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments/127681949","html_url":"https://github.com/puppetlabs/puppet/pull/4118#issuecomment-127681949","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/4118","id":127681949,"user":{"login":"MikaelSmith","id":8162496,"avatar_url":"https://avatars.githubusercontent.com/u/8162496?v=3","gravatar_id":"","url":"https://api.github.com/users/MikaelSmith","html_url":"https://github.com/MikaelSmith","followers_url":"https://api.github.com/users/MikaelSmith/followers","following_url":"https://api.github.com/users/MikaelSmith/following{/other_user}","gists_url":"https://api.github.com/users/MikaelSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/MikaelSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikaelSmith/subscriptions","organizations_url":"https://api.github.com/users/MikaelSmith/orgs","repos_url":"https://api.github.com/users/MikaelSmith/repos","events_url":"https://api.github.com/users/MikaelSmith/events{/privacy}","received_events_url":"https://api.github.com/users/MikaelSmith/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T17:19:47Z","updated_at":"2015-08-04T17:19:47Z","body":"I don't have a complete picture, but it seems like a test in spec/unit/reports_spec.rb that throws an error in the block passed to register_report (and calls multiple times) would be similar to the ticket."}}