Bug 1860033

Summary: "Add a provider" button for Ansible Tower disappears after using accordion
Product: Red Hat CloudForms Management Engine Reporter: Mike Shriver <mshriver>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Mike Shriver <mshriver>
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.7CC: dmetzger, hkataria, mzazrivec, simaishi, znemecko
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.8Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.8.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 14:04:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Mike Shriver 2020-07-23 15:14:46 UTC
This is effectively a duplicate, copied from 1741310, originally reported by John Dupuy.

A partial fix was implemented, for a different screen, and original BZ marked verified.

Original description follows:


Description of problem:
The "Add a provider" button disappears after clicking on a different item in the Ansible Tower Explorer accordion. 

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

How reproducible:
100%

Steps to Reproduce:
1. Navigate to "Automation > Ansible Tower > Explorer"
2. Verify that the "add a provider" button is available,
3. Click another item in the accordion and then navigate back to the same accordion

Actual results:
The "Add a provider" button has disappeared

Expected results:
The "Add a provider" button should still be there

Additional info:

Comment 3 CFME Bot 2020-08-20 17:06:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/24f2d8e60f0154665990acc8f8f4ecfca8dfb24c
commit 24f2d8e60f0154665990acc8f8f4ecfca8dfb24c
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Aug 17 10:29:14 2020 +0000
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Aug 17 10:29:14 2020 +0000

    Correctly render add provider screen after accordion switch

    https://bugzilla.redhat.com/show_bug.cgi?id=1860033

 app/controllers/automation_manager_controller.rb | 4 +
 1 file changed, 4 insertions(+)

Comment 4 CFME Bot 2020-08-21 20:31:03 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/8b7e14e79388e6a50959395bad2ff74590fe61fe
commit 8b7e14e79388e6a50959395bad2ff74590fe61fe
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Aug 20 17:03:44 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Aug 21 20:26:03 2020 +0000

    Merge pull request #7263 from mzazrivec/correctly_render_add_provider_screen_when_switching_accordions

    Correctly render add provider screen after accordion switch

    (cherry picked from commit f114da009c4d6cdc19c0f50be4bdb22d97ba2967)

    https://bugzilla.redhat.com/show_bug.cgi?id=1860033

 app/controllers/automation_manager_controller.rb | 4 +
 1 file changed, 4 insertions(+)

Comment 5 Mike Shriver 2020-09-15 12:48:34 UTC
Tested on CFME 5.11.8.0.20200908214813_b3cc53d

The 'Add a Provider' button in the main content pane is still visible after using the accordion to navigate away and back to the providers list. The behavior is now consistent with other provider collection pages.

Comment 10 errata-xmlrpc 2020-09-30 14:04:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4134