{"action":"created","comment":{"url":"https://api.github.com/repos/coralproject/cay/pulls/comments/71404861","id":71404861,"diff_hunk":"@@ -102,7 +102,7 @@ export default class FormBuilder extends Component {\n       identity: data.identity ? data.identity : false,\n       wrapper: {},\n       props: { ...data.props },\n-      id: Math.floor(Math.random() * 99999) + ''\n+      id: uuid.v4() + ''","path":"src/forms/FormBuilder.js","position":5,"original_position":5,"commit_id":"d35bc62eb0113f20c59a7843c74514da45b51e93","original_commit_id":"d35bc62eb0113f20c59a7843c74514da45b51e93","user":{"login":"impronunciable","id":165799,"avatar_url":"https://avatars.githubusercontent.com/u/165799?v=3","gravatar_id":"","url":"https://api.github.com/users/impronunciable","html_url":"https://github.com/impronunciable","followers_url":"https://api.github.com/users/impronunciable/followers","following_url":"https://api.github.com/users/impronunciable/following{/other_user}","gists_url":"https://api.github.com/users/impronunciable/gists{/gist_id}","starred_url":"https://api.github.com/users/impronunciable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/impronunciable/subscriptions","organizations_url":"https://api.github.com/users/impronunciable/orgs","repos_url":"https://api.github.com/users/impronunciable/repos","events_url":"https://api.github.com/users/impronunciable/events{/privacy}","received_events_url":"https://api.github.com/users/impronunciable/received_events","type":"User","site_admin":false},"body":"remove the `+ ''`. uuid it's already a string","created_at":"2016-07-19T19:17:12Z","updated_at":"2016-07-19T19:17:12Z","html_url":"https://github.com/coralproject/cay/pull/478#discussion_r71404861","pull_request_url":"https://api.github.com/repos/coralproject/cay/pulls/478","_links":{"self":{"href":"https://api.github.com/repos/coralproject/cay/pulls/comments/71404861"},"html":{"href":"https://github.com/coralproject/cay/pull/478#discussion_r71404861"},"pull_request":{"href":"https://api.github.com/repos/coralproject/cay/pulls/478"}}},"pull_request":{"url":"https://api.github.com/repos/coralproject/cay/pulls/478","id":77813913,"html_url":"https://github.com/coralproject/cay/pull/478","diff_url":"https://github.com/coralproject/cay/pull/478.diff","patch_url":"https://github.com/coralproject/cay/pull/478.patch","issue_url":"https://api.github.com/repos/coralproject/cay/issues/478","number":478,"state":"open","locked":false,"title":"Form Builder: bug when duplicating a field","user":{"login":"pablocubico","id":340766,"avatar_url":"https://avatars.githubusercontent.com/u/340766?v=3","gravatar_id":"","url":"https://api.github.com/users/pablocubico","html_url":"https://github.com/pablocubico","followers_url":"https://api.github.com/users/pablocubico/followers","following_url":"https://api.github.com/users/pablocubico/following{/other_user}","gists_url":"https://api.github.com/users/pablocubico/gists{/gist_id}","starred_url":"https://api.github.com/users/pablocubico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablocubico/subscriptions","organizations_url":"https://api.github.com/users/pablocubico/orgs","repos_url":"https://api.github.com/users/pablocubico/repos","events_url":"https://api.github.com/users/pablocubico/events{/privacy}","received_events_url":"https://api.github.com/users/pablocubico/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n- Fixes a bug when duplicating a field. When editing a duplicated field name, the name of the original name changes too.\r\n\r\n## How do I test this PR?\r\n- Go to *Create form*\r\n- Add a field (e.g. Short Answer)\r\n- Edit the field's name\r\n- Duplicate the field\r\n- Edit the newly created field (the duplicate) and edit it's name\r\n- Only the new field should change, not both.\r\n","created_at":"2016-07-18T14:08:09Z","updated_at":"2016-07-19T19:17:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43344883a267a75a3a5306f29a62cd35e52d3426","assignee":{"login":"riley","id":282503,"avatar_url":"https://avatars.githubusercontent.com/u/282503?v=3","gravatar_id":"","url":"https://api.github.com/users/riley","html_url":"https://github.com/riley","followers_url":"https://api.github.com/users/riley/followers","following_url":"https://api.github.com/users/riley/following{/other_user}","gists_url":"https://api.github.com/users/riley/gists{/gist_id}","starred_url":"https://api.github.com/users/riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riley/subscriptions","organizations_url":"https://api.github.com/users/riley/orgs","repos_url":"https://api.github.com/users/riley/repos","events_url":"https://api.github.com/users/riley/events{/privacy}","received_events_url":"https://api.github.com/users/riley/received_events","type":"User","site_admin":false},"assignees":[{"login":"riley","id":282503,"avatar_url":"https://avatars.githubusercontent.com/u/282503?v=3","gravatar_id":"","url":"https://api.github.com/users/riley","html_url":"https://github.com/riley","followers_url":"https://api.github.com/users/riley/followers","following_url":"https://api.github.com/users/riley/following{/other_user}","gists_url":"https://api.github.com/users/riley/gists{/gist_id}","starred_url":"https://api.github.com/users/riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riley/subscriptions","organizations_url":"https://api.github.com/users/riley/orgs","repos_url":"https://api.github.com/users/riley/repos","events_url":"https://api.github.com/users/riley/events{/privacy}","received_events_url":"https://api.github.com/users/riley/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/coralproject/cay/milestones/5","html_url":"https://github.com/coralproject/cay/milestones/Ask%20Beta","labels_url":"https://api.github.com/repos/coralproject/cay/milestones/5/labels","id":1868803,"number":5,"title":"Ask Beta","description":"","creator":{"login":"kgardnr","id":1077300,"avatar_url":"https://avatars.githubusercontent.com/u/1077300?v=3","gravatar_id":"","url":"https://api.github.com/users/kgardnr","html_url":"https://github.com/kgardnr","followers_url":"https://api.github.com/users/kgardnr/followers","following_url":"https://api.github.com/users/kgardnr/following{/other_user}","gists_url":"https://api.github.com/users/kgardnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kgardnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgardnr/subscriptions","organizations_url":"https://api.github.com/users/kgardnr/orgs","repos_url":"https://api.github.com/users/kgardnr/repos","events_url":"https://api.github.com/users/kgardnr/events{/privacy}","received_events_url":"https://api.github.com/users/kgardnr/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":37,"state":"open","created_at":"2016-07-06T23:39:00Z","updated_at":"2016-07-19T19:03:42Z","due_on":"2016-07-26T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coralproject/cay/pulls/478/commits","review_comments_url":"https://api.github.com/repos/coralproject/cay/pulls/478/comments","review_comment_url":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/cay/issues/478/comments","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/d35bc62eb0113f20c59a7843c74514da45b51e93","head":{"label":"coralproject:form-builder-duplicate-field-bug","ref":"form-builder-duplicate-field-bug","sha":"d35bc62eb0113f20c59a7843c74514da45b51e93","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-07-12T21:55:43Z","pushed_at":"2016-07-19T18:57:05Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":68929,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":57,"forks":5,"open_issues":57,"watchers":14,"default_branch":"master"}},"base":{"label":"coralproject:master","ref":"master","sha":"898729bd766d3669c4df18ad0e914541c2a36308","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-07-12T21:55:43Z","pushed_at":"2016-07-19T18:57:05Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":68929,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":57,"forks":5,"open_issues":57,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/cay/pulls/478"},"html":{"href":"https://github.com/coralproject/cay/pull/478"},"issue":{"href":"https://api.github.com/repos/coralproject/cay/issues/478"},"comments":{"href":"https://api.github.com/repos/coralproject/cay/issues/478/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/cay/pulls/478/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/cay/pulls/478/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/cay/statuses/d35bc62eb0113f20c59a7843c74514da45b51e93"}}}}
{"actor":{"display_login":"impronunciable"}}