Bug 1347223

Summary: Missing policy button on some of the Network Manager Relationship pages
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: ProvidersAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: dajohnso, dclarizi, hkataria, jfrey, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:cloud:network:control:policy
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1352016 (view as bug list) Environment:
Last Closed: 2017-01-11 20:30:38 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: 1352016    
Attachments:
Description Flags
screen shot of security groups page without policy button none

Description Nandini Chandra 2016-06-16 10:29:54 UTC
Created attachment 1168667 [details]
screen shot of security groups page without policy button

Description of problem:
----------------------


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


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Manage a cloud provider.Navigate to the summary page of its Network Manager.
2.Click any of the links in the Relationships section.For eg:Click Security Groups.
3.Observe that the 'All Security Groups' page doesn't have a Policy button.


Actual results:
--------------
Missing policy button on some of the Network Manager Relationship pages.


Expected results:
-----------------
Policy button should be present on the Network Manager Relationship pages.


Additional info:
----------------

Comment 8 Harpreet Kataria 2016-08-05 17:54:46 UTC
Hilda,

Need to add code like this https://github.com/ManageIQ/manageiq/blob/master/app/helpers/application_helper/toolbar_chooser.rb#L442 to handle screens that are missing toolbars when going to relationships screen from Cloud Provider summary screen, see if you can make this if/else branch little bit more generic like changing it to return "#{@display}_center_tb" for certain cases. Let me know if you have questions.

Thanks,
~Harpreet

Comment 9 Hilda Stastna 2016-08-22 15:19:21 UTC
https://github.com/ManageIQ/manageiq/pull/10584

Comment 10 Nandini Chandra 2016-10-04 21:23:58 UTC
Verified in 5.7.0.3