Bug 1560679

Summary: Satellite provider name change is not updated in accordion
Product: Red Hat CloudForms Management Engine Reporter: Tasos Papaioannou <tpapaioa>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard: ui:config_management
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:01:18 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:

Description Tasos Papaioannou 2018-03-26 18:03:06 UTC
Description of problem:

After a Satellite Configuration Manager Provider's name is changed, the old name still shows up in the accordion menu, until the user reloads the page.

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

5.9.2.0

How reproducible:

100%

Steps to Reproduce:
1.) Click on Configuration > Management
2.) In the accordion, click on All Configuration Manager Providers > Red Hat Satellite Providers.
3.) Check the box next to a Satellite provider, and click on Configuration > Edit Selected item
4.) Change the Name and click Save.
5.) See that the name has been updated in the 'All Red Hat Satellite Providers' frame, but that the old name still shows in the accordion under All Configuration Manager Providers > Red Hat Satellite Providers > [old name] Configuration Manager.
6.) Click the 'Refresh this page' button, and confirm that the new name now displays.

Actual results:

Satellite provider name change not reflected in accordion until user reloads page.

Expected results:

Satellite provider name change reflected in accordion immediately.


Additional info:

Comment 3 CFME Bot 2018-04-25 07:20:33 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/61a4caa9cb1f5e0f45d2be6f7743c2a788efcd94
commit 61a4caa9cb1f5e0f45d2be6f7743c2a788efcd94
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Apr 24 07:04:34 2018 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Apr 24 07:04:34 2018 -0400

    Rebuild provider foreman tree after editing a provider

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

 app/controllers/mixins/manager_controller_mixin.rb | 2 +-
 app/controllers/provider_foreman_controller.rb | 4 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 4 Tasos Papaioannou 2018-06-26 16:35:56 UTC
Verified on 5.10.0.1.

Comment 5 errata-xmlrpc 2019-02-07 23:01:18 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, 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-2019:0212