Bug 1347223 - Missing policy button on some of the Network Manager Relationship pages
Summary: Missing policy button on some of the Network Manager Relationship pages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.7.0
Assignee: Hilda Stastna
QA Contact: Nandini Chandra
URL:
Whiteboard: ui:cloud:network:control:policy
Depends On:
Blocks: 1352016
TreeView+ depends on / blocked
 
Reported: 2016-06-16 10:29 UTC by Nandini Chandra
Modified: 2017-01-12 05:07 UTC (History)
8 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1352016 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:30:38 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot of security groups page without policy button (74.85 KB, image/png)
2016-06-16 10:29 UTC, Nandini Chandra
no flags Details

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


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