Bug 1916116 - the left navigation menu would not be expanded if repeat clicking the links in Overview page
Summary: the left navigation menu would not be expanded if repeat clicking the links i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Joe Caiani
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-14 09:16 UTC by Junqi Zhao
Modified: 2021-07-27 22:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:36:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8534 0 None open Bug 1916116: Pf update to fix NavExpandable component 2021-03-31 16:18:46 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:36:27 UTC

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


Note You need to log in before you can comment on or make changes to this bug.