Bug 1338807

Summary: After selecting any container's Relationship from Containers List, the path label will show incorrect path
Product: Red Hat CloudForms Management Engine Reporter: Pavel Zagalsky <pzagalsk>
Component: UI - OPSAssignee: Erez Freiberger <efreiber>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dron, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, UserExperience, ZStream
Target Release: 5.7.0Flags: epacific: automate_bug-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1341668 (view as bug list) Environment:
Last Closed: 2017-01-11 20:06:36 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: 1341668    
Attachments:
Description Flags
ContainersPath none

Description Pavel Zagalsky 2016-05-23 13:08:35 UTC
Created attachment 1160626 [details]
ContainersPath

Description of problem:

After selecting any container's Relationship from Containers List, the path label will show incorrect path


Steps to Reproduce:
1. Go to Compute --> Containers --> Containers 
2. Open Container's Provider

Actual results:
After the page is loaded it'll show an incorrect path in the top of the menu.
Services --> hawkular-cassandra-1 Capacity & Utilization --> hawkular-metrics Capacity & Utilization --> heapster Capacity & Utilization --> OpenShift (Summary) instead of:
Compute --> Containers --> Containers 

There is no back button as well to return to the previous level


Expected results:
The correct path should appear to allow the user to go back to the same point he came from

Additional info:
Check the attached screenshot

Comment 2 Harpreet Kataria 2016-05-23 13:43:26 UTC
Federico,

Please send this back to me if this is not a containers specific issue.

Thanks,
~Harpreet

Comment 3 Federico Simoncelli 2016-05-23 20:19:42 UTC
The steps to reproduce these were not clear enough. Anyway I managed to reproduce this after a while.

This happens when there was already a specific container selected in past and when navigating back to "Containers => Containers" leads directly to that specific container summary page.

1. go to "Containers => Containers"
2. select a container
3. navigate somewhere else (e.g. go to "Containers => Services", pick one, etc.)
4. go back to "Containers => Containers"
5. the previously selected container should be there
6. click on the Provider relationship

As mentioned in the description the breadcrumbs are incorrect.

Erez can you please handle this? Check with Ari for help as he's handling few other BZs related to the breadcrumbs.

Comment 4 Erez Freiberger 2016-06-01 11:35:14 UTC
A suggested fix: https://github.com/ManageIQ/manageiq/pull/9073