Bug 1394733 - Topology - error page clicking on any non-provider entity
Summary: Topology - error page clicking on any non-provider entity
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
unspecified
unspecified
Target Milestone: GA
: 5.8.0
Assignee: Andrey
QA Contact: Ola Pavlenko
URL:
Whiteboard:
Depends On:
Blocks: 1394850
TreeView+ depends on / blocked
 
Reported: 2016-11-14 10:49 UTC by Martin Hradil
Modified: 2017-09-14 12:27 UTC (History)
7 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1394850 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:30:59 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:


Attachments (Terms of Use)

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


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