{"action":"created","issue":{"url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/12","repository_url":"https://api.github.com/repos/Accela-Inc/MasterScripts","labels_url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/12/comments","events_url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/12/events","html_url":"https://github.com/Accela-Inc/MasterScripts/pull/12","id":282554910,"number":12,"title":"Fix generateReport report result check","user":{"login":"hawkinsd10","id":34585857,"avatar_url":"https://avatars2.githubusercontent.com/u/34585857?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkinsd10","html_url":"https://github.com/hawkinsd10","followers_url":"https://api.github.com/users/hawkinsd10/followers","following_url":"https://api.github.com/users/hawkinsd10/following{/other_user}","gists_url":"https://api.github.com/users/hawkinsd10/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkinsd10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkinsd10/subscriptions","organizations_url":"https://api.github.com/users/hawkinsd10/orgs","repos_url":"https://api.github.com/users/hawkinsd10/repos","events_url":"https://api.github.com/users/hawkinsd10/events{/privacy}","received_events_url":"https://api.github.com/users/hawkinsd10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-15T21:39:44Z","updated_at":"2017-12-15T21:41:51Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Accela-Inc/MasterScripts/pulls/12","html_url":"https://github.com/Accela-Inc/MasterScripts/pull/12","diff_url":"https://github.com/Accela-Inc/MasterScripts/pull/12.diff","patch_url":"https://github.com/Accela-Inc/MasterScripts/pull/12.patch"},"body":"If a user has permission to a report, but aa.reportManager.getReportResult() fails, it returns a ScriptResult object that is interpreted as a success by an incomplete error check on the result. The error check should check for the boolean result of getSuccess() on the return from aa.reportManager.getReportResult() to ensure attempts to store the report only occur when generation is successful.\r\nThis merge fixes this problem, triggering the function's error handling for the statement block instead of throwing an exception."},"comment":{"url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/comments/352118896","html_url":"https://github.com/Accela-Inc/MasterScripts/pull/12#issuecomment-352118896","issue_url":"https://api.github.com/repos/Accela-Inc/MasterScripts/issues/12","id":352118896,"user":{"login":"hawkinsd10","id":34585857,"avatar_url":"https://avatars2.githubusercontent.com/u/34585857?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkinsd10","html_url":"https://github.com/hawkinsd10","followers_url":"https://api.github.com/users/hawkinsd10/followers","following_url":"https://api.github.com/users/hawkinsd10/following{/other_user}","gists_url":"https://api.github.com/users/hawkinsd10/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkinsd10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkinsd10/subscriptions","organizations_url":"https://api.github.com/users/hawkinsd10/orgs","repos_url":"https://api.github.com/users/hawkinsd10/repos","events_url":"https://api.github.com/users/hawkinsd10/events{/privacy}","received_events_url":"https://api.github.com/users/hawkinsd10/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T21:41:51Z","updated_at":"2017-12-15T21:41:51Z","author_association":"NONE","body":"Apparently a commit with a small informational tweak from master snuck in, too. It looks like it should be harmless, or I can try to remove the changes if you like."}}
{"actor":{"display_login":"hawkinsd10"}}