Bug 2253519

Summary: Changing the "Show New Host Overview Page" setting is not applied even after reloading the page
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: NavigationAssignee: Ron Lavi <rlavi>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.15.0CC: aruzicka, jlenz, paji, pnovotny, rlavi
Target Milestone: 6.15.0Keywords: Triaged, UserExperience
Target Release: UnusedFlags: rlavi: needinfo? (paji)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.9.1.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:16:07 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 Jayant Bhatia 2023-12-07 20:36:27 UTC
Description of problem:

After changing the value of 'Show New Host Overview Page' setting, "Reload Current Page" button in web browser does not work to reflect the changed host overview page

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


How reproducible: Always


Steps to Reproduce:

1. Navigate to Satellite WebUI -> Administer -> Settings -> change the value of 'Show New Host Overview Page'. For example: Set it to 'No' if it is currently 'Yes' OR set it to 'Yes' if it is currently 'No'.
(Lets say I am changing it from 'No' to 'Yes')

2. Go to Satellite WebUI -> Hosts -> All Hosts page. Still the old host overview page is displayed.

3. Reload the page multiple times using web browser reload button.

Actual results: Still the old host overview page is displayed even after reloading the web browser page multiple times.

Expected results: Reloading the page using web browser button should change the old host overview page to New Host Overview Page.

Workaround-

Go to any other option, for example: Satellite WebUI -> Configure -> Host Groups. Now navigate back to Satellite WebUI -> Hosts -> All Hosts page and the old host overview page has been changed to New Host Overview Page.

"Reload Current Page" button in web browser does not help to reflect the changed host overview page. After changing the value of 'Show New Host Overview Page' setting, user have to navigate to any other option in Satellite WebUI (for example: Satellite WebUI -> Configure -> Host Groups) to get the changes reflected in Host Overview Page.

Comment 4 Ron Lavi 2023-12-28 12:10:32 UTC
Created redmine issue https://projects.theforeman.org/issues/37013 from this bug

Comment 5 Bryan Kearney 2024-01-17 00:02:35 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37013 has been resolved.

Comment 7 Pavel Novotny 2024-01-24 12:20:26 UTC
Verified in Satellite 6.15 snap 7:
satellite-6.15.0-2.el8sat.noarch
foreman-3.9.1.3-1.el8sat.noarch

Verification steps:
1. Go to Administer -> Settings (General tab).
2. By default, 'Show New Host Overview Page' is set to 'No'.
3. Verify by expanding menu Hosts and checking the URL of 'All Hosts' link. 
   Result: It points to https://FQDN/hosts
   Opening the link in new tab opens the "old" hosts page.
4. Change 'Show New Host Overview Page' to 'Yes'. (Note that the Settings page does not reload after that.)
5. Check the "Hosts / All Hosts" URL again. 
   Result: Now it points to https://FQDN/new/hosts
   Opening the link in new tab opens the "new" hosts page.

Comment 10 errata-xmlrpc 2024-04-23 17:16:07 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 (Important: Satellite 6.15.0 release), 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-2024:2010