Description of problem: When the dialog includes a tag control the catalog order fails to paint the screen. Version-Release number of selected component (if applicable): 5.6.2.1.20160922130607_92d5b5e How reproducible: Steps to Reproduce: 1.Create dialog with tag control 2.add to catalog 3.Order Actual results: Screen just stays at order Expected results: presents dialog Additional info:
Reproducible in 5.6.2.1.20160922130607_92d5b5e Logs ======================= /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/configuration.rb:224:in `call' /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:561:in `handle_request' /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:406:in `process_client' /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:271:in `block in run' /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:in `call' /opt/rh/rh-ruby22/root/usr/share/gems/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:in `block in spawn_thread' /opt/rh/cfme-gemset/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `call' /opt/rh/cfme-gemset/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context' [----] I, [2016-10-07T12:37:48.449673 #3377:1340fd4] INFO -- : Rendered layouts/_exception_contents.html.haml (0.3ms) [----] I, [2016-10-07T12:37:48.450372 #3377:1340fd4] INFO -- : Completed 200 OK in 48ms (Views: 1.7ms | ActiveRecord: 0.0ms) [----] I, [2016-10-07T12:38:04.601311 #3377:134bc2c] INFO -- : Started POST "/catalog/x_button/1?pressed=svc_catalog_provision" for 127.0.0.1 at 2016-10-07 12:38:04 -0400 [----] I, [2016-10-07T12:38:04.602628 #3377:134bc2c] INFO -- : Processing by CatalogController#x_button as JS [----] I, [2016-10-07T12:38:04.602708 #3377:134bc2c] INFO -- : Parameters: {"pressed"=>"svc_catalog_provision", "id"=>"1"} [----] F, [2016-10-07T12:38:04.688281 #3377:134bc2c] FATAL -- : Error caught: [NoMethodError] undefined method `first' for nil:NilClass /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:81:in `raw_values' /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:62:in `trigger_automate_value_updates' /var/www/miq/vmdb/app/models/dialog_field_sorted_item.rb:42:in `get_default_value' /var/www/miq/vmdb/app/models/dialog_field_tag_control.rb:3:in `initialize_with_values' /var/www/miq/vmdb/app/models/dialog.rb:84:in `block in init_fields_with_values' /var/www/miq/vmdb/app/models/dialog.rb:84:in `each' /var/www/miq/vmdb/app/models/dialog.rb:84:in `init_fields_with_values' /var/www/miq/vmdb/app/models/resource_action_workflow.rb:107:in `load_dialog' /var/www/miq/vmdb/app/models/resource_action_workflow.rb:12:in `initialize' /var/www/miq/vmdb/app/controllers/application_controller/dialog_runner.rb:168:in `new' /var/www/miq/vmdb/app/controllers/application_controller/dialog_runner.rb:168:in `dialog_initialize' /var/www/miq/vmdb/app/controllers/catalog_controller.rb:573:in `svc_catalog_provision' /var/www/miq/vmdb/app/controllers/catalog_controller.rb:62:in `x_button' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:188:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:126:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:126:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:455:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:455:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164:in `instrument' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' /opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:126:in `process' /opt/rh/cfme-gemset/gems/actionview-5.0.0.1/lib/action_view/rendering.rb:30:in `process' /opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:190:in `dispatch'
https://github.com/ManageIQ/manageiq/pull/11773
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/a72ab1bb27086a8618bd328319ebfe56639370f9 commit a72ab1bb27086a8618bd328319ebfe56639370f9 Author: Erik Clarizio <eclarizi> AuthorDate: Fri Oct 7 10:44:29 2016 -0700 Commit: Erik Clarizio <eclarizi> CommitDate: Fri Oct 7 10:44:29 2016 -0700 Fix undefined method issue for DialogFieldTagControl https://bugzilla.redhat.com/show_bug.cgi?id=1382765 Also will fix the issue for either drop downs or radio buttons that somehow end up with nil values instead of multidimentional arrays app/models/dialog_field_sorted_item.rb | 2 +- spec/models/dialog_field_drop_down_list_spec.rb | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-)
https://github.com/ManageIQ/integration_tests/pull/3610
New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/90c546a82f309c6b65c28366fc2eaba40c81e403 commit 90c546a82f309c6b65c28366fc2eaba40c81e403 Author: Greg McCullough <gmccullo> AuthorDate: Fri Oct 7 16:56:09 2016 -0400 Commit: Oleg Barenboim <chessbyte> CommitDate: Thu Oct 13 15:43:13 2016 -0400 Merge pull request #11773 from eclarizio/BZ1382765 Fix for a Dialog with Tag Control Failure (cherry picked from commit bf2d99dd8310cefa16305303822a86f6a3c05066) https://bugzilla.redhat.com/show_bug.cgi?id=1382765 app/models/dialog_field_sorted_item.rb | 2 +- spec/models/dialog_field_drop_down_list_spec.rb | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-)
*** Bug 1384755 has been marked as a duplicate of this bug. ***
This bug is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1384755 *** This bug has been marked as a duplicate of bug 1384755 ***