Bug 1394733

Summary: Topology - error page clicking on any non-provider entity
Product: Red Hat CloudForms Management Engine Reporter: Martin Hradil <mhradil>
Component: UI - OPSAssignee: Andrey <aveselov>
Status: CLOSED CURRENTRELEASE QA Contact: Ola Pavlenko <opavlenk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, okolisny, tzumainn
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1394850 (view as bug list) Environment:
Last Closed: 2017-06-12 17:30:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1394850    

Description Martin Hradil 2016-11-14 10:49:30 UTC
Description of problem:

Clicking on anything but providers is broken in the topology view.


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

5.7, master after #12503 and before #12605


How reproducible:

always


Steps to Reproduce:

1. Go to any topology view (eg Network > Topology)
2. Click on any non-provider entity (eg Floatin IP)


Actual results:

The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
(url = /floating_ip/10000000000071)


Expected results:

The right detail is shown.
(url = /floating_ip/show/10000000000071)


Additional info:

This was introduced while fixing https://bugzilla.redhat.com/show_bug.cgi?id=1389463 in https://github.com/ManageIQ/manageiq/pull/12503

We already have a fix in https://github.com/ManageIQ/manageiq/pull/12605

The difference is that all providers use restful routes, but no other entities do.

Comment 3 CFME Bot 2016-11-14 14:31:28 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2a41a2a393bdfef575565564595fb2f55fee063f

commit 2a41a2a393bdfef575565564595fb2f55fee063f
Author:     Andrey Veselov <aveselov>
AuthorDate: Mon Nov 14 11:19:00 2016 +0100
Commit:     Andrey Veselov <aveselov>
CommitDate: Mon Nov 14 14:18:57 2016 +0100

    Topology: fix urls for non-provider entities
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394733

 app/assets/javascripts/services/topology_service.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Comment 5 Ronnie Rasouli 2017-03-08 06:56:40 UTC
verified on 5.8.0.3