Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1916116

Summary: the left navigation menu would not be expanded if repeat clicking the links in Overview page
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Management ConsoleAssignee: Joe Caiani <jcaiani>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: aos-bugs, jcaiani, jhadvig, jokerman, spadgett, yanpzhan, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:36:03 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 Junqi Zhao 2021-01-14 09:16:19 UTC
Description of problem:
1. login cluster administrator console, default page is https://${console_route}/dashboards
Status panel, click "View alerts" or "View details" link, they both link to https://${console_route}/monitoring/alerts
the left navigation bar "Monitoring -> Alerting" would be expanded
2. Collapse "Monitoring -> Alerting", click "Home -> Overview" link, and click "View alerts" or "View details" link again
3. the left navigation bar "Monitoring -> Alerting" would not be expanded

NOTE: it is the same issue with other links, example: "Cluster inventory" section in Overview page, click nodes link.
refresh the https://${console_route} page and repeat the above steps, the menu could be expanded

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-13-124141
FireFox 75.0 (64-bit)

How reproducible:
always

Steps to Reproduce:
1. see the descriptions
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jakub Hadvig 2021-01-15 16:29:08 UTC
Joe could you please check if this is not a PF issue. If not let me know please, will re-assigne.

Comment 4 Joe Caiani 2021-03-26 21:03:07 UTC
@spadgett @jhadvig This looks like a pf issue. I noted that the onExpand prop in the <NavExpandable> component doesn't fire and the function never gets run, therefore only the local state of the component is managing expand collapse.

I've created the issue: https://github.com/patternfly/patternfly-react/issues/5592

Comment 6 Yanping Zhang 2021-04-06 08:54:07 UTC
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-04-05-174735.
Steps to verify:
1. login cluster administrator console, default page is https://${console_route}/dashboards
Status panel, click "View alerts" or "View details" link, they both link to https://${console_route}/monitoring/alerts
the left navigation bar "Monitoring -> Alerting" would be expanded
2. Collapse "Monitoring -> Alerting", click "Home -> Overview" link, and click "View alerts" or "View details" link again, the left navigation bar "Monitoring -> Alerting" is expanded now.
Same for other parts on overview page, such as links in "Cluster inventory" card.
The bug is fixed.

Comment 9 errata-xmlrpc 2021-07-27 22:36:03 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: OpenShift Container Platform 4.8.2 bug fix and security 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-2021:2438