Bug 1353546

Summary: Relationship links do not work within an OSE project
Product: Red Hat CloudForms Management Engine Reporter: Jon Jozwiak <jjozwiak>
Component: ProvidersAssignee: Erez Freiberger <efreiber>
Status: CLOSED CURRENTRELEASE QA Contact: Gilad Shefer <gshefer>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, dclarizi, dron, efreiber, epacific, jfrey, jhardy, obarenbo, psavage, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: All   
OS: All   
Whiteboard: container
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1356624 (view as bug list) Environment:
Last Closed: 2017-01-11 19:56:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1356624    

Description Jon Jozwiak 2016-07-07 12:20:30 UTC
Description of problem:
If you go to an OpenShift project and click Relationships, none of the links work properly 

Version-Release number of selected component (if applicable):
CF 4.1 (CFME 5.6) GA

How reproducible:
Every time 

Steps to Reproduce:
1. In CF UI, click Compute -> Container -> Projects
2. Select a project
3. Click the Relationships Accordion 
4. Click any of the links (such as container provider, routes, services, etc)

Actual results:
If you click 'container provider' you get an error page: 
    The page you were looking for doesn't exist.  
    You may have mistyped the address or the page may have moved. 

This is because it sends you to https://<cfme host>/ems_container/show/<provider id>.  
If you go to Compute -> Container -> Providers -> Click provider, it will send you to:
https://<cfme host>/ems_container/<provider id>
  It appears /show/ is incorrect.  

If you click on any links (routes, services, etc) other than container provider it redirects you to projects: 
https://<cfme host>/container_project/show_list


Expected results:
These links should redirect you to the appropriate pages

Additional info:

Comment 2 Erez Freiberger 2016-07-10 16:36:57 UTC
On master I could only reproduce the bug with the container provider link. The links to the other entities are working well for me. Here is a fix for the provider link (Which is reproduced in the relationships of all the container entities):

https://github.com/ManageIQ/manageiq/pull/9714