{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16965","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16965/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16965/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16965/events","html_url":"https://github.com/ManageIQ/manageiq/pull/16965","id":295252192,"number":16965,"title":"Lookup a category_id if a tag control passes it in","user":{"login":"syncrou","id":697347,"avatar_url":"https://avatars1.githubusercontent.com/u/697347?v=4","gravatar_id":"","url":"https://api.github.com/users/syncrou","html_url":"https://github.com/syncrou","followers_url":"https://api.github.com/users/syncrou/followers","following_url":"https://api.github.com/users/syncrou/following{/other_user}","gists_url":"https://api.github.com/users/syncrou/gists{/gist_id}","starred_url":"https://api.github.com/users/syncrou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syncrou/subscriptions","organizations_url":"https://api.github.com/users/syncrou/orgs","repos_url":"https://api.github.com/users/syncrou/repos","events_url":"https://api.github.com/users/syncrou/events{/privacy}","received_events_url":"https://api.github.com/users/syncrou/received_events","type":"User","site_admin":false},"labels":[{"id":382968361,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/blocker","name":"blocker","color":"000000","default":false},{"id":106615676,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"ee0701","default":true},{"id":736076551,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/gaprindashvili/yes","name":"gaprindashvili/yes","color":"000000","default":false},{"id":228546141,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/services","name":"services","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"eclarizio","id":164557,"avatar_url":"https://avatars1.githubusercontent.com/u/164557?v=4","gravatar_id":"","url":"https://api.github.com/users/eclarizio","html_url":"https://github.com/eclarizio","followers_url":"https://api.github.com/users/eclarizio/followers","following_url":"https://api.github.com/users/eclarizio/following{/other_user}","gists_url":"https://api.github.com/users/eclarizio/gists{/gist_id}","starred_url":"https://api.github.com/users/eclarizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclarizio/subscriptions","organizations_url":"https://api.github.com/users/eclarizio/orgs","repos_url":"https://api.github.com/users/eclarizio/repos","events_url":"https://api.github.com/users/eclarizio/events{/privacy}","received_events_url":"https://api.github.com/users/eclarizio/received_events","type":"User","site_admin":false},"assignees":[{"login":"eclarizio","id":164557,"avatar_url":"https://avatars1.githubusercontent.com/u/164557?v=4","gravatar_id":"","url":"https://api.github.com/users/eclarizio","html_url":"https://github.com/eclarizio","followers_url":"https://api.github.com/users/eclarizio/followers","following_url":"https://api.github.com/users/eclarizio/following{/other_user}","gists_url":"https://api.github.com/users/eclarizio/gists{/gist_id}","starred_url":"https://api.github.com/users/eclarizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclarizio/subscriptions","organizations_url":"https://api.github.com/users/eclarizio/orgs","repos_url":"https://api.github.com/users/eclarizio/repos","events_url":"https://api.github.com/users/eclarizio/events{/privacy}","received_events_url":"https://api.github.com/users/eclarizio/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-02-07T18:53:25Z","updated_at":"2018-02-09T17:52:55Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/16965","html_url":"https://github.com/ManageIQ/manageiq/pull/16965","diff_url":"https://github.com/ManageIQ/manageiq/pull/16965.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/16965.patch"},"body":"When editing a tag control for service dialogs, we were always looking up by the name\r\ncoming in from the dialog.  For a new record this sufficed, for an edit it caused edits to fail.\r\n\r\nThis changes the order of lookups to first check the category_id if it comes in,\r\nand to fallback to the name if there is no category_id\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?i\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/364508086","html_url":"https://github.com/ManageIQ/manageiq/pull/16965#issuecomment-364508086","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/16965","id":364508086,"user":{"login":"gmcculloug","id":2591569,"avatar_url":"https://avatars0.githubusercontent.com/u/2591569?v=4","gravatar_id":"","url":"https://api.github.com/users/gmcculloug","html_url":"https://github.com/gmcculloug","followers_url":"https://api.github.com/users/gmcculloug/followers","following_url":"https://api.github.com/users/gmcculloug/following{/other_user}","gists_url":"https://api.github.com/users/gmcculloug/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcculloug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcculloug/subscriptions","organizations_url":"https://api.github.com/users/gmcculloug/orgs","repos_url":"https://api.github.com/users/gmcculloug/repos","events_url":"https://api.github.com/users/gmcculloug/events{/privacy}","received_events_url":"https://api.github.com/users/gmcculloug/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T17:52:55Z","updated_at":"2018-02-09T17:52:55Z","author_association":"MEMBER","body":"@eclarizio Please review after changes were pushed.  Update your approval status if you are good with the changes."}}
{"actor":{"display_login":"gmcculloug"}}