{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3117","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3117/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3117/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3117/events","html_url":"https://github.com/ManageIQ/manageiq/pull/3117","id":87005751,"number":3117,"title":"[WIP] Report editor - handle tags on entitites","user":{"login":"himdel","id":289743,"avatar_url":"https://avatars.githubusercontent.com/u/289743?v=3","gravatar_id":"","url":"https://api.github.com/users/himdel","html_url":"https://github.com/himdel","followers_url":"https://api.github.com/users/himdel/followers","following_url":"https://api.github.com/users/himdel/following{/other_user}","gists_url":"https://api.github.com/users/himdel/gists{/gist_id}","starred_url":"https://api.github.com/users/himdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himdel/subscriptions","organizations_url":"https://api.github.com/users/himdel/orgs","repos_url":"https://api.github.com/users/himdel/repos","events_url":"https://api.github.com/users/himdel/events{/privacy}","received_events_url":"https://api.github.com/users/himdel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/reporting","name":"reporting","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/wip","name":"wip","color":"eeeeee"}],"state":"open","locked":false,"assignee":{"login":"himdel","id":289743,"avatar_url":"https://avatars.githubusercontent.com/u/289743?v=3","gravatar_id":"","url":"https://api.github.com/users/himdel","html_url":"https://github.com/himdel","followers_url":"https://api.github.com/users/himdel/followers","following_url":"https://api.github.com/users/himdel/following{/other_user}","gists_url":"https://api.github.com/users/himdel/gists{/gist_id}","starred_url":"https://api.github.com/users/himdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himdel/subscriptions","organizations_url":"https://api.github.com/users/himdel/orgs","repos_url":"https://api.github.com/users/himdel/repos","events_url":"https://api.github.com/users/himdel/events{/privacy}","received_events_url":"https://api.github.com/users/himdel/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-10T15:21:27Z","updated_at":"2015-10-06T19:22:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3117","html_url":"https://github.com/ManageIQ/manageiq/pull/3117","diff_url":"https://github.com/ManageIQ/manageiq/pull/3117.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3117.patch"},"body":"Right now, creating a new report (based on EVM Groups, among others), each tag is available in multiple variants .. say \"My Company Tags : Demo\" (`managed-demo`), \"VMs.My Company Tags : Demo\" (`vms.managed-demo`) and \"Miq Templates.My Company Tags : Demo\" (`miq_templates.managed-demo`). But upon saving, all these variants are changed to the basic variety (`managed-demo`), losing the entity info.\r\n\r\nThis PR aims to fix that.\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1193652"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/145971227","html_url":"https://github.com/ManageIQ/manageiq/pull/3117#issuecomment-145971227","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3117","id":145971227,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T19:22:30Z","updated_at":"2015-10-06T19:22:30Z","body":"<rubocop />Checked commits https://github.com/himdel/manageiq/compare/1254f214dd9fff38729f6abf4ea8d0d5e77c2518~...bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0\n1 file checked, 6 offenses detected\n\n**app/controllers/report_controller/reports/editor.rb**\n- [ ] :large_orange_diamond: - [Line 1652](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1652), Col 28 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 1764](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1764), Col 19 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 1776](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1776), Col 7 - [Style/Next](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/Next) - Use `next` to skip iteration.\n- [ ] :large_orange_diamond: - [Line 1777](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1777), Col 55 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :large_orange_diamond: - [Line 1778](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1778), Col 37 - [Style/ExtraSpacing](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Style/ExtraSpacing) - Unnecessary spacing detected.\n- [ ] :small_blue_diamond: - [Line 1664](https://github.com/himdel/manageiq/blob/bd6e0ac8a050625c4952bd5dfe38ad655e3d62ea/app/controllers/report_controller/reports/editor.rb#L1664), Col 121 - [Metrics/LineLength](http://rubydoc.info/gems/rubocop/0.34.2/RuboCop/Cop/Metrics/LineLength) - Line is too long. [123/120]\n"}}