Created attachment 1260983 [details] import dialog Description of problem: Version-Release number of selected component (if applicable): 5.8.0.3.20170301174324_1e2e0c4 How reproducible: Steps to Reproduce: 1. Automate - Customization - Import/Export 2. Select a yml and upload . Nothing happens. dialog not imported 3. Actual results: Expected results: Additional info: Logs ================= [----] I, [2017-03-07T16:51:02.658582 #14562:eef9d0] INFO -- : Processing by MiqAeCustomizationController#upload_import_file as JS [----] I, [2017-03-07T16:51:02.658804 #14562:eef9d0] INFO -- : Parameters: {"utf8"=>"✓", "upload"=>{"file"=>#<ActionDispatch::Http::UploadedFile:0x0000001792a268 @tempfile=#<Tempfile:/tmp/RackMultipart20170307-14562-z0d62y.yml>, @original_filename="dialog_export_20170113_000433(1).yml", @content_type="application/x-yaml", @headers="Content-Disposition: form-data; name=\"upload[file]\"; filename=\"dialog_export_20170113_000433(1).yml\"\r\nContent-Type: application/x-yaml\r\n">}} [----] I, [2017-03-07T16:51:02.826776 #14562:eef9d0] INFO -- : Rendered /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/layouts/_info_msg.html.haml (0.1ms) [----] I, [2017-03-07T16:51:02.827045 #14562:eef9d0] INFO -- : Rendered /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/layouts/_flash_msg.html.haml (0.7ms) [----] I, [2017-03-07T16:51:03.705128 #14562:eef9d0] INFO -- : Rendered /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/miq_ae_customization/_dialog_import_export.html.haml (878.9ms) [----] F, [2017-03-07T16:51:03.705391 #14562:eef9d0] FATAL -- : Error caught: [ActionView::Template::Error] undefined method `status_icon_image_path' for #<#<Class:0x00000011caac40>:0x00000017bf5d80> /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/miq_ae_customization/_dialog_import_export.html.haml:24:in `block (2 levels) in __opt_rh_cfme_gemset_bundler_gems_manageiq_ui_classic_b_____f____f_app_views_miq_ae_customization__dialog_import_export_html_haml___2849156545885946682_179378100' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/miq_ae_customization/_dialog_import_export.html.haml:17:in `each' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/miq_ae_customization/_dialog_import_export.html.haml:17:in `block in __opt_rh_cfme_gemset_bundler_gems_manageiq_ui_classic_b_____f____f_app_views_miq_ae_customization__dialog_import_export_html_haml___2849156545885946682_179378100' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/helpers/capture_helper.rb:39:in `block in capture' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/helpers/capture_helper.rb:203:in `with_output_buffer' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/helpers/capture_helper.rb:39:in `capture' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/helpers/form_tag_helper.rb:70:in `form_tag' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/miq_ae_customization/_dialog_import_export.html.haml:6:in `__opt_rh_cfme_gemset_bundler_gems_manageiq_ui_classic_b_____f____f_app_views_miq_ae_customization__dialog_import_export_html_haml___2849156545885946682_179378100' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/template.rb:159:in `block in render' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications.rb:166:in `instrument' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/template.rb:354:in `instrument' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/template.rb:157:in `render' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb:343:in `render_partial' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb:311:in `block in render' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/abstract_renderer.rb:41:in `instrument' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb:310:in `render' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/renderer.rb:47:in `render_partial' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/renderer/renderer.rb:21:in `render' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/rendering.rb:103:in `_render_template' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/streaming.rb:217:in `_render_template' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/rendering.rb:83:in `render_to_body' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:52:in `render_to_body' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/renderers.rb:142:in `render_to_body' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/abstract_controller/rendering.rb:48:in `render_to_string' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:41:in `render_to_string' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/controllers/miq_ae_customization_controller.rb:348:in `block in render_proc' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/controllers/miq_ae_customization_controller.rb:387:in `setup_presenter_based_on_active_tree' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/controllers/miq_ae_customization_controller.rb:241:in `replace_right_cell' /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/controllers/miq_ae_customization_controller.rb:59:in `upload_import_file' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:188:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:126:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:455:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/notifications.rb:164:in `instrument' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action' /opt/rh/cfme-gemset/gems/activerecord-5.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/abstract_controller/base.rb:126:in `process' /opt/rh/cfme-gemset/gems/actionview-5.0.1/lib/action_view/rendering.rb:30:in `process' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal.rb:190:in `dispatch' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_controller/metal.rb:262:in `dispatch' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `each' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/journey/router.rb:26:in `serve' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call' /opt/rh/cfme-gemset/gems/secure_headers-3.0.3/lib/secure_headers/middleware.rb:10:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/conditional_get.rb:38:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/head.rb:12:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' /opt/rh/cfme-gemset/gems/railties-5.0.1/lib/rails/rack/logger.rb:36:in `call_app' /opt/rh/cfme-gemset/gems/railties-5.0.1/lib/rails/rack/logger.rb:26:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call' /opt/rh/cfme-gemset/gems/activesupport-5.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' /opt/rh/cfme-gemset/gems/actionpack-5.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call' /opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call' /opt/rh/cfme-gemset/gems/railties-5.0.1/lib/rails/engine.rb:522:in `call' /opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/configuration.rb:224:in `call' /opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:561:in `handle_request' /opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:406:in `process_client' /opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:271:in `block in run' /opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:in `block in spawn_thread' [----] I, [2017-03-07T16:51:03.706897 #14562:eef9d0] INFO -- : Rendered /opt/rh/cfme-gemset/bundler/gems/manageiq-ui-classic-b06734f7533f/app/views/layouts/_exception_contents.html.haml (0.7ms) [----] I, [2017-03-07T16:51:03.707375 #14562:eef9d0] INFO -- : Completed 200 OK in 1048ms (Views: 1.5ms | ActiveRecord: 0.0ms)
Greg, Looks like this issue was introduced in commit: d16150fe1395ce706bf66d05df042608f6eff134 seeing error in log: [----] I, [2017-03-07T17:03:31.451528 #12011:5f18bc8] INFO -- : Parameters: {"utf8"=>"✓", "upload"=>{"file"=>#<ActionDispatch::Http::UploadedFile:0x007fb7ca7564d8 @tempfile=#<Tempfile:/tmp/RackMultipart20170307-12011-1yo60hy.yml>, @original_filename="dialog_export_20170307_220322.yml", @content_type="application/x-yaml", @headers="Content-Disposition: form-data; name=\"upload[file]\"; filename=\"dialog_export_20170307_220322.yml\"\r\nContent-Type: application/x-yaml\r\n">}} [----] I, [2017-03-07T17:03:31.633846 #12011:5f18bc8] INFO -- : Rendered /home/hkataria/dev/manageiq-ui-classic/app/views/layouts/_info_msg.html.haml (0.1ms) [----] I, [2017-03-07T17:03:31.633998 #12011:5f18bc8] INFO -- : Rendered /home/hkataria/dev/manageiq-ui-classic/app/views/layouts/_flash_msg.html.haml (3.0ms) [----] I, [2017-03-07T17:03:32.262540 #12011:5f18bc8] INFO -- : Rendered /home/hkataria/dev/manageiq-ui-classic/app/views/miq_ae_customization/_dialog_import_export.html.haml (634.4ms) [----] F, [2017-03-07T17:03:32.262836 #12011:5f18bc8] FATAL -- : Error caught: [ActionView::Template::Error] undefined method `status_icon_image_path' for #<#<Class:0x007fb76a05be40>:0x007fb74916b590> /home/hkataria/dev/manageiq-ui-classic/app/views/miq_ae_customization/_dialog_import_export.html.haml:24:in `block (2 levels) in __home_hkataria_dev_manageiq_ui_classic_app_views_miq_ae_customization__dialog_import_export_html_haml___1021651596512335520_70212867820260' /home/hkataria/dev/manageiq-ui-classic/app/views/miq_ae_customization/_dialog_import_export.html.haml:17:in `each' /home/hkataria/dev/manageiq-ui-classic/app/views/miq_ae_customization/_dialog_import_export.html.haml:17:in `block in __home_hkataria_dev_manageiq_ui_classic_app_views_miq_ae_customization__dialog_import_export_html_haml___1021651596512335520_70212867820260' Let me know if you have questions. Thanks, ~Harpreet
*** This bug has been marked as a duplicate of bug 1429964 ***