{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/13103","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13103/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13103/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13103/events","html_url":"https://github.com/joomla/joomla-cms/pull/13103","id":193712436,"number":13103,"title":"[com_fields] Migrate user groups from categories to field groups","user":{"login":"laoneo","id":251072,"avatar_url":"https://avatars.githubusercontent.com/u/251072?v=3","gravatar_id":"","url":"https://api.github.com/users/laoneo","html_url":"https://github.com/laoneo","followers_url":"https://api.github.com/users/laoneo/followers","following_url":"https://api.github.com/users/laoneo/following{/other_user}","gists_url":"https://api.github.com/users/laoneo/gists{/gist_id}","starred_url":"https://api.github.com/users/laoneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laoneo/subscriptions","organizations_url":"https://api.github.com/users/laoneo/orgs","repos_url":"https://api.github.com/users/laoneo/repos","events_url":"https://api.github.com/users/laoneo/events{/privacy}","received_events_url":"https://api.github.com/users/laoneo/received_events","type":"User","site_admin":false},"labels":[{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false},{"id":345755094,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/release-blocker","name":"release-blocker","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/14","html_url":"https://github.com/joomla/joomla-cms/milestone/14","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/14/labels","id":1750036,"number":14,"title":"Joomla 3.7.0","description":"","creator":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":534,"state":"open","created_at":"2016-05-05T16:42:34Z","updated_at":"2016-12-19T16:05:20Z","due_on":null,"closed_at":null},"comments":31,"created_at":"2016-12-06T08:37:46Z","updated_at":"2016-12-19T18:15:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/13103","html_url":"https://github.com/joomla/joomla-cms/pull/13103","diff_url":"https://github.com/joomla/joomla-cms/pull/13103.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/13103.patch"},"body":"Regression from PR #13019.\r\n\r\n### Summary of Changes\r\nThis PR adapts the show custom fields setting in contacts to the new field groups.\r\n\r\n### Testing Instructions\r\n- Go to Users -> Field Groups\r\n- Create two Groups with the name Demo1 and Demo2\r\n- Go to Users -> Fields\r\n- Create a field with the Title Demo Field 1 and assign it to the field group Demo1\r\n- Create a field with the Title Demo Field 2 and assign it to the field group Demo2\r\n- Create a field with the Title Demo Field and assign it to no field group\r\n- Edit the super admin user and set some custom fields values\r\n- Go to Components -> Contacts\r\n- Open the options of the contacts component and select Demo1 in the parameter \"Show User Custom Fields\"\r\n- Create a new contact and link it to the super admin user\r\n- Create a new menu item for a single contact\r\n- On the front open the new contact menu item\r\n\r\n### Expected result\r\nOnly the values from the fields \"Demo Field 1\" and \"Demo Field\" should be shown.\r\n\r\n### Actual result\r\nThe groups are not shown on the back end Contact options and on the front is the following warning displayed:\r\n\r\n`Notice: Undefined property: stdClass::$catid in /joomla-cms/components/com_contact/views/contact/tmpl/default_user_custom_fields.php on line 24`"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/268036633","html_url":"https://github.com/joomla/joomla-cms/pull/13103#issuecomment-268036633","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13103","id":268036633,"user":{"login":"ralain","id":3478897,"avatar_url":"https://avatars.githubusercontent.com/u/3478897?v=3","gravatar_id":"","url":"https://api.github.com/users/ralain","html_url":"https://github.com/ralain","followers_url":"https://api.github.com/users/ralain/followers","following_url":"https://api.github.com/users/ralain/following{/other_user}","gists_url":"https://api.github.com/users/ralain/gists{/gist_id}","starred_url":"https://api.github.com/users/ralain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralain/subscriptions","organizations_url":"https://api.github.com/users/ralain/orgs","repos_url":"https://api.github.com/users/ralain/repos","events_url":"https://api.github.com/users/ralain/events{/privacy}","received_events_url":"https://api.github.com/users/ralain/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T18:15:26Z","updated_at":"2016-12-19T18:15:26Z","body":"I have tested this item :white_check_mark: successfully on 2b71bd8a1f0b6a9a0db6bf907ab6b9a4cea6b499<br /><br />Test still good.<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/13103\">issues.joomla.org/tracker/joomla-cms/13103</a>.</sub>"}}
{"actor":{"display_login":"ralain"}}