{"action":"created","comment":{"url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/comments/185100509","pull_request_review_id":116425496,"id":185100509,"diff_hunk":"@@ -55,25 +55,26 @@ export default class CreateEventOutcomes extends Component {\n \n   validate = (value, allValues) => {\n     const { intl } = this.props;\n+    const outcome = value || '';\n \n     // Validate not empty\n-    if (_.isEmpty(value)) {\n+    if (_.isEmpty(outcome)) {\n       return intl.formatMessage(messages.required);\n     }\n \n     // Validate hex length\n-    const hexString = Web3Utils.toHex(value || '').slice(2); // Remove hex prefix for length validation\n+    const hexString = Web3Utils.toHex(outcome).slice(2); // Remove hex prefix for length validation\n     if (hexString && hexString.length > MAX_LEN_RESULT_HEX) {","path":"src/scenes/CreateEvent/components/CreateEventOutcomes/index.js","position":null,"original_position":15,"commit_id":"ec6208a82f30a33df6839b430b0ae93d74f5953e","original_commit_id":"ec6208a82f30a33df6839b430b0ae93d74f5953e","user":{"login":"alex-cory","id":5455859,"avatar_url":"https://avatars1.githubusercontent.com/u/5455859?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-cory","html_url":"https://github.com/alex-cory","followers_url":"https://api.github.com/users/alex-cory/followers","following_url":"https://api.github.com/users/alex-cory/following{/other_user}","gists_url":"https://api.github.com/users/alex-cory/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-cory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-cory/subscriptions","organizations_url":"https://api.github.com/users/alex-cory/orgs","repos_url":"https://api.github.com/users/alex-cory/repos","events_url":"https://api.github.com/users/alex-cory/events{/privacy}","received_events_url":"https://api.github.com/users/alex-cory/received_events","type":"User","site_admin":false},"body":"i.e. `if (hexString.length > MAX_LEN_RESULT_HEX)` is all we need","created_at":"2018-04-30T20:28:16Z","updated_at":"2018-04-30T20:46:45Z","html_url":"https://github.com/bodhiproject/bodhi-ui/pull/525#discussion_r185100509","pull_request_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/comments/185100509"},"html":{"href":"https://github.com/bodhiproject/bodhi-ui/pull/525#discussion_r185100509"},"pull_request":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525"}},"in_reply_to_id":185100380},"pull_request":{"url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525","id":184724546,"html_url":"https://github.com/bodhiproject/bodhi-ui/pull/525","diff_url":"https://github.com/bodhiproject/bodhi-ui/pull/525.diff","patch_url":"https://github.com/bodhiproject/bodhi-ui/pull/525.patch","issue_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/525","number":525,"state":"closed","locked":false,"title":"521 duplicate result names","user":{"login":"dwalintukan","id":4350404,"avatar_url":"https://avatars2.githubusercontent.com/u/4350404?v=4","gravatar_id":"","url":"https://api.github.com/users/dwalintukan","html_url":"https://github.com/dwalintukan","followers_url":"https://api.github.com/users/dwalintukan/followers","following_url":"https://api.github.com/users/dwalintukan/following{/other_user}","gists_url":"https://api.github.com/users/dwalintukan/gists{/gist_id}","starred_url":"https://api.github.com/users/dwalintukan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwalintukan/subscriptions","organizations_url":"https://api.github.com/users/dwalintukan/orgs","repos_url":"https://api.github.com/users/dwalintukan/repos","events_url":"https://api.github.com/users/dwalintukan/events{/privacy}","received_events_url":"https://api.github.com/users/dwalintukan/received_events","type":"User","site_admin":false},"body":"![image](https://user-images.githubusercontent.com/4350404/39384463-c32f3f28-4a21-11e8-8949-18a3d882262f.png)\r\n","created_at":"2018-04-27T20:49:13Z","updated_at":"2018-04-30T20:46:46Z","closed_at":"2018-04-30T20:34:26Z","merged_at":"2018-04-30T20:34:26Z","merge_commit_sha":"e6a9adb4dc2affc729532951996063f2bf95c186","assignee":{"login":"dwalintukan","id":4350404,"avatar_url":"https://avatars2.githubusercontent.com/u/4350404?v=4","gravatar_id":"","url":"https://api.github.com/users/dwalintukan","html_url":"https://github.com/dwalintukan","followers_url":"https://api.github.com/users/dwalintukan/followers","following_url":"https://api.github.com/users/dwalintukan/following{/other_user}","gists_url":"https://api.github.com/users/dwalintukan/gists{/gist_id}","starred_url":"https://api.github.com/users/dwalintukan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwalintukan/subscriptions","organizations_url":"https://api.github.com/users/dwalintukan/orgs","repos_url":"https://api.github.com/users/dwalintukan/repos","events_url":"https://api.github.com/users/dwalintukan/events{/privacy}","received_events_url":"https://api.github.com/users/dwalintukan/received_events","type":"User","site_admin":false},"assignees":[{"login":"dwalintukan","id":4350404,"avatar_url":"https://avatars2.githubusercontent.com/u/4350404?v=4","gravatar_id":"","url":"https://api.github.com/users/dwalintukan","html_url":"https://github.com/dwalintukan","followers_url":"https://api.github.com/users/dwalintukan/followers","following_url":"https://api.github.com/users/dwalintukan/following{/other_user}","gists_url":"https://api.github.com/users/dwalintukan/gists{/gist_id}","starred_url":"https://api.github.com/users/dwalintukan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwalintukan/subscriptions","organizations_url":"https://api.github.com/users/dwalintukan/orgs","repos_url":"https://api.github.com/users/dwalintukan/repos","events_url":"https://api.github.com/users/dwalintukan/events{/privacy}","received_events_url":"https://api.github.com/users/dwalintukan/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"liviavinci","id":1126827,"avatar_url":"https://avatars0.githubusercontent.com/u/1126827?v=4","gravatar_id":"","url":"https://api.github.com/users/liviavinci","html_url":"https://github.com/liviavinci","followers_url":"https://api.github.com/users/liviavinci/followers","following_url":"https://api.github.com/users/liviavinci/following{/other_user}","gists_url":"https://api.github.com/users/liviavinci/gists{/gist_id}","starred_url":"https://api.github.com/users/liviavinci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liviavinci/subscriptions","organizations_url":"https://api.github.com/users/liviavinci/orgs","repos_url":"https://api.github.com/users/liviavinci/repos","events_url":"https://api.github.com/users/liviavinci/events{/privacy}","received_events_url":"https://api.github.com/users/liviavinci/received_events","type":"User","site_admin":false},{"login":"frankobe","id":2467199,"avatar_url":"https://avatars2.githubusercontent.com/u/2467199?v=4","gravatar_id":"","url":"https://api.github.com/users/frankobe","html_url":"https://github.com/frankobe","followers_url":"https://api.github.com/users/frankobe/followers","following_url":"https://api.github.com/users/frankobe/following{/other_user}","gists_url":"https://api.github.com/users/frankobe/gists{/gist_id}","starred_url":"https://api.github.com/users/frankobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankobe/subscriptions","organizations_url":"https://api.github.com/users/frankobe/orgs","repos_url":"https://api.github.com/users/frankobe/repos","events_url":"https://api.github.com/users/frankobe/events{/privacy}","received_events_url":"https://api.github.com/users/frankobe/received_events","type":"User","site_admin":false},{"login":"henryzbw","id":10339131,"avatar_url":"https://avatars0.githubusercontent.com/u/10339131?v=4","gravatar_id":"","url":"https://api.github.com/users/henryzbw","html_url":"https://github.com/henryzbw","followers_url":"https://api.github.com/users/henryzbw/followers","following_url":"https://api.github.com/users/henryzbw/following{/other_user}","gists_url":"https://api.github.com/users/henryzbw/gists{/gist_id}","starred_url":"https://api.github.com/users/henryzbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryzbw/subscriptions","organizations_url":"https://api.github.com/users/henryzbw/orgs","repos_url":"https://api.github.com/users/henryzbw/repos","events_url":"https://api.github.com/users/henryzbw/events{/privacy}","received_events_url":"https://api.github.com/users/henryzbw/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525/commits","review_comments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525/comments","review_comment_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/525/comments","statuses_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/statuses/ec6208a82f30a33df6839b430b0ae93d74f5953e","head":{"label":"bodhiproject:521-duplicate-result-names","ref":"521-duplicate-result-names","sha":"ec6208a82f30a33df6839b430b0ae93d74f5953e","user":{"login":"bodhiproject","id":29763948,"avatar_url":"https://avatars2.githubusercontent.com/u/29763948?v=4","gravatar_id":"","url":"https://api.github.com/users/bodhiproject","html_url":"https://github.com/bodhiproject","followers_url":"https://api.github.com/users/bodhiproject/followers","following_url":"https://api.github.com/users/bodhiproject/following{/other_user}","gists_url":"https://api.github.com/users/bodhiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/bodhiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodhiproject/subscriptions","organizations_url":"https://api.github.com/users/bodhiproject/orgs","repos_url":"https://api.github.com/users/bodhiproject/repos","events_url":"https://api.github.com/users/bodhiproject/events{/privacy}","received_events_url":"https://api.github.com/users/bodhiproject/received_events","type":"Organization","site_admin":false},"repo":{"id":104853568,"name":"bodhi-ui","full_name":"bodhiproject/bodhi-ui","owner":{"login":"bodhiproject","id":29763948,"avatar_url":"https://avatars2.githubusercontent.com/u/29763948?v=4","gravatar_id":"","url":"https://api.github.com/users/bodhiproject","html_url":"https://github.com/bodhiproject","followers_url":"https://api.github.com/users/bodhiproject/followers","following_url":"https://api.github.com/users/bodhiproject/following{/other_user}","gists_url":"https://api.github.com/users/bodhiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/bodhiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodhiproject/subscriptions","organizations_url":"https://api.github.com/users/bodhiproject/orgs","repos_url":"https://api.github.com/users/bodhiproject/repos","events_url":"https://api.github.com/users/bodhiproject/events{/privacy}","received_events_url":"https://api.github.com/users/bodhiproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bodhiproject/bodhi-ui","description":"ReactJS frontend that interacts with the Bodhi backend services","fork":false,"url":"https://api.github.com/repos/bodhiproject/bodhi-ui","forks_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/forks","keys_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/teams","hooks_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/hooks","issue_events_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/events","assignees_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/tags","blobs_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/languages","stargazers_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/stargazers","contributors_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/contributors","subscribers_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/subscribers","subscription_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/subscription","commits_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/merges","archive_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/downloads","issues_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/labels{/name}","releases_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/deployments","created_at":"2017-09-26T07:52:34Z","updated_at":"2018-04-30T20:34:28Z","pushed_at":"2018-04-30T20:34:32Z","git_url":"git://github.com/bodhiproject/bodhi-ui.git","ssh_url":"git@github.com:bodhiproject/bodhi-ui.git","clone_url":"https://github.com/bodhiproject/bodhi-ui.git","svn_url":"https://github.com/bodhiproject/bodhi-ui","homepage":"https://www.bodhi.network/","size":5236,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0"},"forks":0,"open_issues":47,"watchers":11,"default_branch":"master"}},"base":{"label":"bodhiproject:master","ref":"master","sha":"ec7fd4ba89b6cf0f2b0a675d891d5a48a4640da4","user":{"login":"bodhiproject","id":29763948,"avatar_url":"https://avatars2.githubusercontent.com/u/29763948?v=4","gravatar_id":"","url":"https://api.github.com/users/bodhiproject","html_url":"https://github.com/bodhiproject","followers_url":"https://api.github.com/users/bodhiproject/followers","following_url":"https://api.github.com/users/bodhiproject/following{/other_user}","gists_url":"https://api.github.com/users/bodhiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/bodhiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodhiproject/subscriptions","organizations_url":"https://api.github.com/users/bodhiproject/orgs","repos_url":"https://api.github.com/users/bodhiproject/repos","events_url":"https://api.github.com/users/bodhiproject/events{/privacy}","received_events_url":"https://api.github.com/users/bodhiproject/received_events","type":"Organization","site_admin":false},"repo":{"id":104853568,"name":"bodhi-ui","full_name":"bodhiproject/bodhi-ui","owner":{"login":"bodhiproject","id":29763948,"avatar_url":"https://avatars2.githubusercontent.com/u/29763948?v=4","gravatar_id":"","url":"https://api.github.com/users/bodhiproject","html_url":"https://github.com/bodhiproject","followers_url":"https://api.github.com/users/bodhiproject/followers","following_url":"https://api.github.com/users/bodhiproject/following{/other_user}","gists_url":"https://api.github.com/users/bodhiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/bodhiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodhiproject/subscriptions","organizations_url":"https://api.github.com/users/bodhiproject/orgs","repos_url":"https://api.github.com/users/bodhiproject/repos","events_url":"https://api.github.com/users/bodhiproject/events{/privacy}","received_events_url":"https://api.github.com/users/bodhiproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bodhiproject/bodhi-ui","description":"ReactJS frontend that interacts with the Bodhi backend services","fork":false,"url":"https://api.github.com/repos/bodhiproject/bodhi-ui","forks_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/forks","keys_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/teams","hooks_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/hooks","issue_events_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/events{/number}","events_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/events","assignees_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/assignees{/user}","branches_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/branches{/branch}","tags_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/tags","blobs_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/languages","stargazers_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/stargazers","contributors_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/contributors","subscribers_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/subscribers","subscription_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/subscription","commits_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/contents/{+path}","compare_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/merges","archive_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/downloads","issues_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues{/number}","pulls_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/labels{/name}","releases_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/releases{/id}","deployments_url":"https://api.github.com/repos/bodhiproject/bodhi-ui/deployments","created_at":"2017-09-26T07:52:34Z","updated_at":"2018-04-30T20:34:28Z","pushed_at":"2018-04-30T20:34:32Z","git_url":"git://github.com/bodhiproject/bodhi-ui.git","ssh_url":"git@github.com:bodhiproject/bodhi-ui.git","clone_url":"https://github.com/bodhiproject/bodhi-ui.git","svn_url":"https://github.com/bodhiproject/bodhi-ui","homepage":"https://www.bodhi.network/","size":5236,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0"},"forks":0,"open_issues":47,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525"},"html":{"href":"https://github.com/bodhiproject/bodhi-ui/pull/525"},"issue":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/525"},"comments":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/issues/525/comments"},"review_comments":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525/comments"},"review_comment":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/pulls/525/commits"},"statuses":{"href":"https://api.github.com/repos/bodhiproject/bodhi-ui/statuses/ec6208a82f30a33df6839b430b0ae93d74f5953e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alex-cory"}}