{"action":"created","comment":{"url":"https://api.github.com/repos/dotCMS/core-web/pulls/comments/219517114","pull_request_review_id":157716354,"id":219517114,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTUxNzExNA==","diff_hunk":"@@ -34,6 +36,8 @@ export class CategoriesPropertyComponent extends BaseComponent implements OnInit\n             ? this.dotMessageService.get('contenttypes.field.properties.category.label')\n             : this.property.value;\n             this.paginationService.url = 'v1/categories';\n+        this.groupLocalCopy = _.cloneDeep(this.group);","path":"src/app/portlets/content-types/fields/content-type-fields-properties-form/field-properties/categories-property/categories-property.component.ts","position":20,"original_position":20,"commit_id":"9f3a41036ad85d59565125f1072e65fac2177466","original_commit_id":"9f3a41036ad85d59565125f1072e65fac2177466","user":{"login":"alfredo-dotcms","id":37185433,"node_id":"MDQ6VXNlcjM3MTg1NDMz","avatar_url":"https://avatars0.githubusercontent.com/u/37185433?v=4","gravatar_id":"","url":"https://api.github.com/users/alfredo-dotcms","html_url":"https://github.com/alfredo-dotcms","followers_url":"https://api.github.com/users/alfredo-dotcms/followers","following_url":"https://api.github.com/users/alfredo-dotcms/following{/other_user}","gists_url":"https://api.github.com/users/alfredo-dotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredo-dotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredo-dotcms/subscriptions","organizations_url":"https://api.github.com/users/alfredo-dotcms/orgs","repos_url":"https://api.github.com/users/alfredo-dotcms/repos","events_url":"https://api.github.com/users/alfredo-dotcms/events{/privacy}","received_events_url":"https://api.github.com/users/alfredo-dotcms/received_events","type":"User","site_admin":false},"body":"at this moment `categories` comes with a categories object (categoryName, description, inode, key, keywords, sortOrder) and to save it correctly we need on that property only the `inode`.\r\n\r\nBut we also need to pass that same categories object to the `dot-searchable-dropdown`, so I made a localcopy, to pass it to the dropdown and then update the parent categories attribute with the inode, so once it gets saved the endpoint doesn't break","created_at":"2018-09-21T14:28:41Z","updated_at":"2018-09-21T14:28:41Z","html_url":"https://github.com/dotCMS/core-web/pull/803#discussion_r219517114","pull_request_url":"https://api.github.com/repos/dotCMS/core-web/pulls/803","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/comments/219517114"},"html":{"href":"https://github.com/dotCMS/core-web/pull/803#discussion_r219517114"},"pull_request":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/803"}},"in_reply_to_id":219507062},"pull_request":{"url":"https://api.github.com/repos/dotCMS/core-web/pulls/803","id":217126898,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MTI2ODk4","html_url":"https://github.com/dotCMS/core-web/pull/803","diff_url":"https://github.com/dotCMS/core-web/pull/803.diff","patch_url":"https://github.com/dotCMS/core-web/pull/803.patch","issue_url":"https://api.github.com/repos/dotCMS/core-web/issues/803","number":803,"state":"open","locked":false,"title":"Unable to rename category fields in the new content type portlet","user":{"login":"alfredo-dotcms","id":37185433,"node_id":"MDQ6VXNlcjM3MTg1NDMz","avatar_url":"https://avatars0.githubusercontent.com/u/37185433?v=4","gravatar_id":"","url":"https://api.github.com/users/alfredo-dotcms","html_url":"https://github.com/alfredo-dotcms","followers_url":"https://api.github.com/users/alfredo-dotcms/followers","following_url":"https://api.github.com/users/alfredo-dotcms/following{/other_user}","gists_url":"https://api.github.com/users/alfredo-dotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredo-dotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredo-dotcms/subscriptions","organizations_url":"https://api.github.com/users/alfredo-dotcms/orgs","repos_url":"https://api.github.com/users/alfredo-dotcms/repos","events_url":"https://api.github.com/users/alfredo-dotcms/events{/privacy}","received_events_url":"https://api.github.com/users/alfredo-dotcms/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-20T22:42:02Z","updated_at":"2018-09-21T14:28:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc14afd5896764bbc7e4571578d651463cf44bda","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotCMS/core-web/pulls/803/commits","review_comments_url":"https://api.github.com/repos/dotCMS/core-web/pulls/803/comments","review_comment_url":"https://api.github.com/repos/dotCMS/core-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotCMS/core-web/issues/803/comments","statuses_url":"https://api.github.com/repos/dotCMS/core-web/statuses/9f3a41036ad85d59565125f1072e65fac2177466","head":{"label":"dotCMS:issue-15309-Unable-to-rename-category-fields-in-the-new-content-type-portlet","ref":"issue-15309-Unable-to-rename-category-fields-in-the-new-content-type-portlet","sha":"9f3a41036ad85d59565125f1072e65fac2177466","user":{"login":"dotCMS","id":1005263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUyNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1005263?v=4","gravatar_id":"","url":"https://api.github.com/users/dotCMS","html_url":"https://github.com/dotCMS","followers_url":"https://api.github.com/users/dotCMS/followers","following_url":"https://api.github.com/users/dotCMS/following{/other_user}","gists_url":"https://api.github.com/users/dotCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/dotCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotCMS/subscriptions","organizations_url":"https://api.github.com/users/dotCMS/orgs","repos_url":"https://api.github.com/users/dotCMS/repos","events_url":"https://api.github.com/users/dotCMS/events{/privacy}","received_events_url":"https://api.github.com/users/dotCMS/received_events","type":"Organization","site_admin":false},"repo":{"id":36376350,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM3NjM1MA==","name":"core-web","full_name":"dotCMS/core-web","private":false,"owner":{"login":"dotCMS","id":1005263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUyNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1005263?v=4","gravatar_id":"","url":"https://api.github.com/users/dotCMS","html_url":"https://github.com/dotCMS","followers_url":"https://api.github.com/users/dotCMS/followers","following_url":"https://api.github.com/users/dotCMS/following{/other_user}","gists_url":"https://api.github.com/users/dotCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/dotCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotCMS/subscriptions","organizations_url":"https://api.github.com/users/dotCMS/orgs","repos_url":"https://api.github.com/users/dotCMS/repos","events_url":"https://api.github.com/users/dotCMS/events{/privacy}","received_events_url":"https://api.github.com/users/dotCMS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotCMS/core-web","description":"dotCMS UI","fork":false,"url":"https://api.github.com/repos/dotCMS/core-web","forks_url":"https://api.github.com/repos/dotCMS/core-web/forks","keys_url":"https://api.github.com/repos/dotCMS/core-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotCMS/core-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotCMS/core-web/teams","hooks_url":"https://api.github.com/repos/dotCMS/core-web/hooks","issue_events_url":"https://api.github.com/repos/dotCMS/core-web/issues/events{/number}","events_url":"https://api.github.com/repos/dotCMS/core-web/events","assignees_url":"https://api.github.com/repos/dotCMS/core-web/assignees{/user}","branches_url":"https://api.github.com/repos/dotCMS/core-web/branches{/branch}","tags_url":"https://api.github.com/repos/dotCMS/core-web/tags","blobs_url":"https://api.github.com/repos/dotCMS/core-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotCMS/core-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotCMS/core-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotCMS/core-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotCMS/core-web/statuses/{sha}","languages_url":"https://api.github.com/repos/dotCMS/core-web/languages","stargazers_url":"https://api.github.com/repos/dotCMS/core-web/stargazers","contributors_url":"https://api.github.com/repos/dotCMS/core-web/contributors","subscribers_url":"https://api.github.com/repos/dotCMS/core-web/subscribers","subscription_url":"https://api.github.com/repos/dotCMS/core-web/subscription","commits_url":"https://api.github.com/repos/dotCMS/core-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotCMS/core-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotCMS/core-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotCMS/core-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotCMS/core-web/contents/{+path}","compare_url":"https://api.github.com/repos/dotCMS/core-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotCMS/core-web/merges","archive_url":"https://api.github.com/repos/dotCMS/core-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotCMS/core-web/downloads","issues_url":"https://api.github.com/repos/dotCMS/core-web/issues{/number}","pulls_url":"https://api.github.com/repos/dotCMS/core-web/pulls{/number}","milestones_url":"https://api.github.com/repos/dotCMS/core-web/milestones{/number}","notifications_url":"https://api.github.com/repos/dotCMS/core-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotCMS/core-web/labels{/name}","releases_url":"https://api.github.com/repos/dotCMS/core-web/releases{/id}","deployments_url":"https://api.github.com/repos/dotCMS/core-web/deployments","created_at":"2015-05-27T15:26:16Z","updated_at":"2018-09-17T17:10:09Z","pushed_at":"2018-09-20T22:42:02Z","git_url":"git://github.com/dotCMS/core-web.git","ssh_url":"git@github.com:dotCMS/core-web.git","clone_url":"https://github.com/dotCMS/core-web.git","svn_url":"https://github.com/dotCMS/core-web","homepage":"https://dotcms.com","size":11085,"stargazers_count":9,"watchers_count":9,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":6,"open_issues":13,"watchers":9,"default_branch":"master"}},"base":{"label":"dotCMS:master","ref":"master","sha":"f0bcf0009ba434a40319aa67945e35e0bc020d4d","user":{"login":"dotCMS","id":1005263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUyNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1005263?v=4","gravatar_id":"","url":"https://api.github.com/users/dotCMS","html_url":"https://github.com/dotCMS","followers_url":"https://api.github.com/users/dotCMS/followers","following_url":"https://api.github.com/users/dotCMS/following{/other_user}","gists_url":"https://api.github.com/users/dotCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/dotCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotCMS/subscriptions","organizations_url":"https://api.github.com/users/dotCMS/orgs","repos_url":"https://api.github.com/users/dotCMS/repos","events_url":"https://api.github.com/users/dotCMS/events{/privacy}","received_events_url":"https://api.github.com/users/dotCMS/received_events","type":"Organization","site_admin":false},"repo":{"id":36376350,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM3NjM1MA==","name":"core-web","full_name":"dotCMS/core-web","private":false,"owner":{"login":"dotCMS","id":1005263,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUyNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1005263?v=4","gravatar_id":"","url":"https://api.github.com/users/dotCMS","html_url":"https://github.com/dotCMS","followers_url":"https://api.github.com/users/dotCMS/followers","following_url":"https://api.github.com/users/dotCMS/following{/other_user}","gists_url":"https://api.github.com/users/dotCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/dotCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotCMS/subscriptions","organizations_url":"https://api.github.com/users/dotCMS/orgs","repos_url":"https://api.github.com/users/dotCMS/repos","events_url":"https://api.github.com/users/dotCMS/events{/privacy}","received_events_url":"https://api.github.com/users/dotCMS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotCMS/core-web","description":"dotCMS UI","fork":false,"url":"https://api.github.com/repos/dotCMS/core-web","forks_url":"https://api.github.com/repos/dotCMS/core-web/forks","keys_url":"https://api.github.com/repos/dotCMS/core-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotCMS/core-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotCMS/core-web/teams","hooks_url":"https://api.github.com/repos/dotCMS/core-web/hooks","issue_events_url":"https://api.github.com/repos/dotCMS/core-web/issues/events{/number}","events_url":"https://api.github.com/repos/dotCMS/core-web/events","assignees_url":"https://api.github.com/repos/dotCMS/core-web/assignees{/user}","branches_url":"https://api.github.com/repos/dotCMS/core-web/branches{/branch}","tags_url":"https://api.github.com/repos/dotCMS/core-web/tags","blobs_url":"https://api.github.com/repos/dotCMS/core-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotCMS/core-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotCMS/core-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotCMS/core-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotCMS/core-web/statuses/{sha}","languages_url":"https://api.github.com/repos/dotCMS/core-web/languages","stargazers_url":"https://api.github.com/repos/dotCMS/core-web/stargazers","contributors_url":"https://api.github.com/repos/dotCMS/core-web/contributors","subscribers_url":"https://api.github.com/repos/dotCMS/core-web/subscribers","subscription_url":"https://api.github.com/repos/dotCMS/core-web/subscription","commits_url":"https://api.github.com/repos/dotCMS/core-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotCMS/core-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotCMS/core-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotCMS/core-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotCMS/core-web/contents/{+path}","compare_url":"https://api.github.com/repos/dotCMS/core-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotCMS/core-web/merges","archive_url":"https://api.github.com/repos/dotCMS/core-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotCMS/core-web/downloads","issues_url":"https://api.github.com/repos/dotCMS/core-web/issues{/number}","pulls_url":"https://api.github.com/repos/dotCMS/core-web/pulls{/number}","milestones_url":"https://api.github.com/repos/dotCMS/core-web/milestones{/number}","notifications_url":"https://api.github.com/repos/dotCMS/core-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotCMS/core-web/labels{/name}","releases_url":"https://api.github.com/repos/dotCMS/core-web/releases{/id}","deployments_url":"https://api.github.com/repos/dotCMS/core-web/deployments","created_at":"2015-05-27T15:26:16Z","updated_at":"2018-09-17T17:10:09Z","pushed_at":"2018-09-20T22:42:02Z","git_url":"git://github.com/dotCMS/core-web.git","ssh_url":"git@github.com:dotCMS/core-web.git","clone_url":"https://github.com/dotCMS/core-web.git","svn_url":"https://github.com/dotCMS/core-web","homepage":"https://dotcms.com","size":11085,"stargazers_count":9,"watchers_count":9,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":6,"open_issues":13,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/803"},"html":{"href":"https://github.com/dotCMS/core-web/pull/803"},"issue":{"href":"https://api.github.com/repos/dotCMS/core-web/issues/803"},"comments":{"href":"https://api.github.com/repos/dotCMS/core-web/issues/803/comments"},"review_comments":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/803/comments"},"review_comment":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotCMS/core-web/pulls/803/commits"},"statuses":{"href":"https://api.github.com/repos/dotCMS/core-web/statuses/9f3a41036ad85d59565125f1072e65fac2177466"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alfredo-dotcms"}}