Bug 1446212 - CFME shows error page and throws exception to log when instance/vm/image/etc title is clicked
Summary: CFME shows error page and throws exception to log when instance/vm/image/etc ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Harpreet Kataria
QA Contact: Nikhil Dhandre
URL:
Whiteboard: ui:provider
: 1446661 1447443 (view as bug list)
Depends On:
Blocks: 1446734
TreeView+ depends on / blocked
 
Reported: 2017-04-27 13:06 UTC by Ievgen Zapolskyi
Modified: 2018-03-06 14:51 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1446734 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:51:25 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cfme log (3.28 MB, application/x-bzip)
2017-04-27 13:06 UTC, Ievgen Zapolskyi
no flags Details

Description Ievgen Zapolskyi 2017-04-27 13:06:43 UTC
Created attachment 1274646 [details]
cfme log

Description of problem:
CFME throws exception when user opens Instances/Images/etc page thru provider relationships and clicks title of any Instance/Image/etc.
Actually, there are many objects which have the same issue not only Instances/VMs.

Version-Release number of selected component (if applicable):
5.8.0.12

How reproducible:
100%

Steps to Reproduce:
1. Go to All  Infra or Cloud providers
2. Click any provider
3. Click Virtual Machines/Instances
4. Click title(link below quad icon) of any VM/Instance

Actual results:
error page appears
cfme logs contain exception

Expected results:
no error

Additional info:
[----] I, [2017-04-27T08:47:11.303783 #3029:10bf378]  INFO -- : Started GET "/ems_cloud/show/362" for 127.0.0.1 at 2017-04-27 08:47:11 -0400
[----] F, [2017-04-27T08:47:11.309783 #3029:10bf378] FATAL -- :   
[----] F, [2017-04-27T08:47:11.309840 #3029:10bf378] FATAL -- : ActionController::RoutingError (No route matches [GET] "/ems_cloud/show/362"):
[----] F, [2017-04-27T08:47:11.309881 #3029:10bf378] FATAL -- :   
[----] F, [2017-04-27T08:47:11.309914 #3029:10bf378] FATAL -- : actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.2) lib/rails/rack/logger.rb:26:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.2) lib/rails/engine.rb:522:in `call'
puma (3.3.0) lib/puma/configuration.rb:224:in `call'
puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
puma (3.3.0) lib/puma/server.rb:406:in `process_client'
puma (3.3.0) lib/puma/server.rb:271:in `block in run'
puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] I, [2017-04-27T08:47:11.479860 #3040:10b88fc]  INFO -- : Started GET "/api/auth?requester_type=ws" for 127.0.0.1 at 2017-04-27 08:47:11 -0400

Comment 2 Harpreet Kataria 2017-04-27 19:50:32 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/1188

Comment 3 CFME Bot 2017-04-28 15:58:53 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/1522c826c6861e872dc6ea842839ee1648fe00a7

commit 1522c826c6861e872dc6ea842839ee1648fe00a7
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Apr 27 15:48:11 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Apr 28 11:27:05 2017 -0400

    Fixed quadicon text links.
    
    - Links when clicking on quadicon title text were broken when going to any grid/tile view thru relationships. i.e "Provider -> list of Hosts", "Provider -> List of VMs". Changed code to use same method to determine link that is being used to generate link for actual quadicon.
    - Fixed existing spec tests appropriately.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1446212

 app/helpers/quadicon_helper.rb       |  2 +-
 spec/helpers/quadicon_helper_spec.rb | 16 +++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

Comment 4 Harpreet Kataria 2017-04-28 16:20:08 UTC
*** Bug 1446661 has been marked as a duplicate of this bug. ***

Comment 6 Harpreet Kataria 2017-05-03 14:01:44 UTC
*** Bug 1447443 has been marked as a duplicate of this bug. ***

Comment 7 Nikhil Dhandre 2017-11-08 07:38:38 UTC
Tested on Version 5.9.0.1.20171004215954_13427ce:

steps to reproduced:

1. Navigate to Provider page:
2. from relationship select (VM / host)
3. Click on title of VM/host


running good no error found in cfme logs.


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