Bug 1394503 - Service : Clicking on service quadicon name does not navigate to the service
Summary: Service : Clicking on service quadicon name does not navigate to the service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.8.0
Assignee: Aparna Karve
QA Contact: Nandini Chandra
URL:
Whiteboard: service
: 1396346 (view as bug list)
Depends On:
Blocks: 1395843
TreeView+ depends on / blocked
 
Reported: 2016-11-12 18:53 UTC by Shveta
Modified: 2017-10-10 18:13 UTC (History)
7 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1395843 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:09:34 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
link (111.60 KB, image/png)
2016-11-12 18:53 UTC, Shveta
no flags Details

Description Shveta 2016-11-12 18:53:36 UTC
Created attachment 1220033 [details]
link

Description of problem:


Version-Release number of selected component (if applicable):
5.7.0.10-beta3.20161109111947_9a61b18 

How reproducible:


Steps to Reproduce:
1. Create a service . Go to Myservice Grid View
2. Click on the name(text) of the quadicon.
3. Error in logs , No navigation

Actual results:


Expected results:


Additional info:


[----] I, [2016-11-12T13:50:42.675018 #2914:121248c]  INFO -- : Started POST "/vm_infra/x_show/4?link=true" for 127.0.0.1 at 2016-11-12 13:50:42 -0500
[----] I, [2016-11-12T13:50:42.682590 #2914:121248c]  INFO -- : Processing by VmInfraController#x_show as JS
[----] I, [2016-11-12T13:50:42.682742 #2914:121248c]  INFO -- :   Parameters: {"link"=>"true", "id"=>"4"}
[----] F, [2016-11-12T13:50:42.821991 #2914:121248c] FATAL -- : Error caught: [NoMethodError] undefined method `include?' for nil:NilClass
/var/www/miq/vmdb/app/controllers/vm_common.rb:1206:in `open_parent_nodes'
/var/www/miq/vmdb/app/controllers/vm_common.rb:1401:in `replace_right_cell'
/var/www/miq/vmdb/app/controllers/vm_common.rb:1109:in `tree_select'
/var/www/miq/vmdb/app/controllers/vm_common.rb:173:in `block (2 levels) in x_show'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/mime_responds.rb:201:in `respond_to'
/var/www/miq/vmdb/app/controllers/vm_common.rb:166:in `x_show'
/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: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: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'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:262:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.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.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750:in `_run_call_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/action_dispatch/middleware/callbacks.rb:36:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:36:in `call_app'
/opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:26:in `call'
/opt/rh/cfme-gemset/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.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.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.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.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'

Comment 3 Shveta 2016-11-15 07:51:50 UTC
The error is coming in Tile View.
Please check https://10.8.199.183

Comment 5 CFME Bot 2016-11-16 16:46:15 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8ae0cb509e2f661fa67c8c6627ed910b53a83038

commit 8ae0cb509e2f661fa67c8c6627ed910b53a83038
Author:     Aparna Karve <akarve>
AuthorDate: Tue Nov 15 12:34:34 2016 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Tue Nov 15 12:34:34 2016 -0800

    Fix the :controller attribute in the quadicon url
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394503

 app/helpers/quadicon_helper.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 6 CFME Bot 2016-11-16 17:51:05 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/33b6bc710882895c66942f1141e0267b24f42355

commit 33b6bc710882895c66942f1141e0267b24f42355
Author:     Dan Clarizio <dclarizi>
AuthorDate: Wed Nov 16 08:36:49 2016 -0800
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Wed Nov 16 12:45:03 2016 -0500

    Merge pull request #12662 from AparnaKarve/bz1394503_fix_quadicon_link
    
    Fix the :controller attribute in the quadicon url
    (cherry picked from commit 72427b137597b71456a5831a0cdc2f698b4f657f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394503

 app/helpers/quadicon_helper.rb       | 1 +
 spec/helpers/quadicon_helper_spec.rb | 1 +
 2 files changed, 2 insertions(+)

Comment 8 Harpreet Kataria 2016-11-23 18:36:31 UTC
*** Bug 1396346 has been marked as a duplicate of this bug. ***

Comment 9 Nandini Chandra 2017-03-08 23:45:31 UTC
Verified in 5.8.0.3


Note You need to log in before you can comment on or make changes to this bug.