{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/74457656","id":74457656,"diff_hunk":"@@ -30,6 +38,22 @@ def refresh_json_value(checked_value)\n     {:refreshed_values => refreshed_values, :checked_value => @value, :read_only => read_only?, :visible => visible?}\n   end\n \n+  def automate_output_value\n+    return super unless multi_value?\n+    a = @value.chomp.split(',')\n+    automate_values = a.first.kind_of?(Integer) ? a.map(&:to_i) : a\n+    MiqAeEngine.create_automation_attribute_array_value(automate_values)\n+  end\n+\n+  def automate_key_name\n+    MiqAeEngine.create_automation_attribute_array_key(super)","path":"app/models/dialog_field_drop_down_list.rb","position":27,"original_position":27,"commit_id":"9fe4bc729aa3bb55d46fd051d384bfe9835a474b","original_commit_id":"9fe4bc729aa3bb55d46fd051d384bfe9835a474b","user":{"login":"eclarizio","id":164557,"avatar_url":"https://avatars.githubusercontent.com/u/164557?v=3","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},"body":"It's already in the parent `DialogField` class, so I don't think we need `def value_from_dialog_fields` in this file. The one that is in the tag control does something special with classifications.","created_at":"2016-08-11T16:39:54Z","updated_at":"2016-08-11T16:39:54Z","html_url":"https://github.com/ManageIQ/manageiq/pull/10270#discussion_r74457656","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/74457656"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/10270#discussion_r74457656"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270","id":80142720,"html_url":"https://github.com/ManageIQ/manageiq/pull/10270","diff_url":"https://github.com/ManageIQ/manageiq/pull/10270.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/10270.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10270","number":10270,"state":"open","locked":false,"title":"[WIP] Add multiselect option to dropdowns","user":{"login":"d-m-u","id":16326669,"avatar_url":"https://avatars.githubusercontent.com/u/16326669?v=3","gravatar_id":"","url":"https://api.github.com/users/d-m-u","html_url":"https://github.com/d-m-u","followers_url":"https://api.github.com/users/d-m-u/followers","following_url":"https://api.github.com/users/d-m-u/following{/other_user}","gists_url":"https://api.github.com/users/d-m-u/gists{/gist_id}","starred_url":"https://api.github.com/users/d-m-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-m-u/subscriptions","organizations_url":"https://api.github.com/users/d-m-u/orgs","repos_url":"https://api.github.com/users/d-m-u/repos","events_url":"https://api.github.com/users/d-m-u/events{/privacy}","received_events_url":"https://api.github.com/users/d-m-u/received_events","type":"User","site_admin":false},"body":"Adds multiselect flag to dropdowns much like the existing single option for tag controls. \r\n\r\n@miq-bot add_label ui\r\n@miq-bot assign @gmcculloug \r\n@miq-bot add_label wip","created_at":"2016-08-04T20:18:12Z","updated_at":"2016-08-11T16:39:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af931bcb10a4b7bc38c227f8b3026c13e489bb97","assignee":{"login":"eclarizio","id":164557,"avatar_url":"https://avatars.githubusercontent.com/u/164557?v=3","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://avatars.githubusercontent.com/u/164557?v=3","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,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10270/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/9fe4bc729aa3bb55d46fd051d384bfe9835a474b","head":{"label":"d-m-u:multiselect","ref":"multiselect","sha":"9fe4bc729aa3bb55d46fd051d384bfe9835a474b","user":{"login":"d-m-u","id":16326669,"avatar_url":"https://avatars.githubusercontent.com/u/16326669?v=3","gravatar_id":"","url":"https://api.github.com/users/d-m-u","html_url":"https://github.com/d-m-u","followers_url":"https://api.github.com/users/d-m-u/followers","following_url":"https://api.github.com/users/d-m-u/following{/other_user}","gists_url":"https://api.github.com/users/d-m-u/gists{/gist_id}","starred_url":"https://api.github.com/users/d-m-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-m-u/subscriptions","organizations_url":"https://api.github.com/users/d-m-u/orgs","repos_url":"https://api.github.com/users/d-m-u/repos","events_url":"https://api.github.com/users/d-m-u/events{/privacy}","received_events_url":"https://api.github.com/users/d-m-u/received_events","type":"User","site_admin":false},"repo":{"id":61375733,"name":"manageiq","full_name":"d-m-u/manageiq","owner":{"login":"d-m-u","id":16326669,"avatar_url":"https://avatars.githubusercontent.com/u/16326669?v=3","gravatar_id":"","url":"https://api.github.com/users/d-m-u","html_url":"https://github.com/d-m-u","followers_url":"https://api.github.com/users/d-m-u/followers","following_url":"https://api.github.com/users/d-m-u/following{/other_user}","gists_url":"https://api.github.com/users/d-m-u/gists{/gist_id}","starred_url":"https://api.github.com/users/d-m-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-m-u/subscriptions","organizations_url":"https://api.github.com/users/d-m-u/orgs","repos_url":"https://api.github.com/users/d-m-u/repos","events_url":"https://api.github.com/users/d-m-u/events{/privacy}","received_events_url":"https://api.github.com/users/d-m-u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d-m-u/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/d-m-u/manageiq","forks_url":"https://api.github.com/repos/d-m-u/manageiq/forks","keys_url":"https://api.github.com/repos/d-m-u/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d-m-u/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d-m-u/manageiq/teams","hooks_url":"https://api.github.com/repos/d-m-u/manageiq/hooks","issue_events_url":"https://api.github.com/repos/d-m-u/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/d-m-u/manageiq/events","assignees_url":"https://api.github.com/repos/d-m-u/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/d-m-u/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/d-m-u/manageiq/tags","blobs_url":"https://api.github.com/repos/d-m-u/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d-m-u/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d-m-u/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/d-m-u/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d-m-u/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/d-m-u/manageiq/languages","stargazers_url":"https://api.github.com/repos/d-m-u/manageiq/stargazers","contributors_url":"https://api.github.com/repos/d-m-u/manageiq/contributors","subscribers_url":"https://api.github.com/repos/d-m-u/manageiq/subscribers","subscription_url":"https://api.github.com/repos/d-m-u/manageiq/subscription","commits_url":"https://api.github.com/repos/d-m-u/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/d-m-u/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/d-m-u/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/d-m-u/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/d-m-u/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/d-m-u/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d-m-u/manageiq/merges","archive_url":"https://api.github.com/repos/d-m-u/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d-m-u/manageiq/downloads","issues_url":"https://api.github.com/repos/d-m-u/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/d-m-u/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/d-m-u/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/d-m-u/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d-m-u/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/d-m-u/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/d-m-u/manageiq/deployments","created_at":"2016-06-17T13:31:16Z","updated_at":"2016-06-17T13:31:37Z","pushed_at":"2016-08-10T16:07:12Z","git_url":"git://github.com/d-m-u/manageiq.git","ssh_url":"git@github.com:d-m-u/manageiq.git","clone_url":"https://github.com/d-m-u/manageiq.git","svn_url":"https://github.com/d-m-u/manageiq","homepage":"manageiq.org","size":140953,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"31b6fab3f8cf49a85b62ea21decc7e137c2ce2df","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Open-Source Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-08-11T15:10:06Z","pushed_at":"2016-08-11T16:38:59Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":193490,"stargazers_count":301,"watchers_count":301,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":336,"mirror_url":null,"open_issues_count":766,"forks":336,"open_issues":766,"watchers":301,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/10270"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/10270"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/10270/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10270/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/9fe4bc729aa3bb55d46fd051d384bfe9835a474b"}}}}
{"actor":{"display_login":"eclarizio"}}