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.0.18 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:
The same thing happens with Red Hat Satellite Provider. Steps to Reproduce: 1. Navigate to Configuration > Management. 2. Switch between `All Configuration Manager Providers` and `Red Hat Satellite Providers` and check if the `Add a Provider` button is visible. 3. Go to `Configured Systems` accordion and switch back to the `Providers` accordion and check if the `Add a Provider` button is visible. Actual results: 1. 2. Button will be visible. 3. Button is no longer visible. Expected results: 1. 2. Button should be visible, which it is. 3. Button should be visible. Check the bug demo.
Created attachment 1608093 [details] Bug Demo
https://github.com/ManageIQ/manageiq-ui-classic/pull/6712
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/cd18bb16d05ea7bde73b80708fddaa6ae219eb0c commit cd18bb16d05ea7bde73b80708fddaa6ae219eb0c Author: Harpreet Kataria <hkataria> AuthorDate: Tue Feb 25 21:15:34 2020 +0000 Commit: Harpreet Kataria <hkataria> CommitDate: Tue Feb 25 21:15:34 2020 +0000 Render 'layouts/empty' partial correctly. Render 'layouts/empty' partial when replacing right cell after accordion is switched from "Configured Systems" to "Providers" when there are no Foreman Providers in the database. Also render "layouts/empty" partial from explorer view only when active tree is Providers tree, existing code was rendering empty partial when returning back to explorer if "Configured Systems" was the last active accordion. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1741310 app/controllers/provider_foreman_controller.rb | 5 + app/views/provider_foreman/explorer.html.haml | 7 +- 2 files changed, 9 insertions(+), 3 deletions(-)
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk: https://github.com/ManageIQ/manageiq-ui-classic/commit/fadc5cd3c4e92f82282adbf2a782ce205a1a9455 commit fadc5cd3c4e92f82282adbf2a782ce205a1a9455 Author: Milan Zázrivec <mzazrivec> AuthorDate: Wed Feb 26 10:26:01 2020 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Thu Jun 18 20:03:12 2020 +0000 Merge pull request #6712 from h-kataria/foreman_explorer_right_cell_replace_fix Render 'layouts/empty' partial correctly. (cherry picked from commit 90ccf511af963b739d30857d3ef242ae476dc453) https://bugzilla.redhat.com/show_bug.cgi?id=1741310 app/controllers/provider_foreman_controller.rb | 5 + app/views/provider_foreman/explorer.html.haml | 7 +- 2 files changed, 9 insertions(+), 3 deletions(-)
Tested on CFME 5.11.7.1 This behavior has been resolved for configuration managers, mentioned in comment 2, but not for ansible tower automation providers, which was the original description. New BZ written for ansible tower: https://bugzilla.redhat.com/show_bug.cgi?id=1860033
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 (Critical: CloudForms 5.0.7 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:3358
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days