Bug 1999615

Summary: UI crashes when clicked on the grey background of the topology view if projects dropdown is open
Product: OpenShift Container Platform Reporter: Mohammed Saud <msaud>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:50:32 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:

Description Mohammed Saud 2021-08-31 12:48:44 UTC
Description of problem:

When clicked on topology view's background if the projects dropdown is open, the UI crashes because of a TypeError (`TypeError: event.target.closest is not a function`) in `NamespaceMenuToggle` component.

Prerequisites (if any, like setup, operators/versions):
None

Steps to Reproduce
    Open projects dropdown
    Click on topology view's background

Actual results:
UI crashes.

Expected results:
UI should not crash and the dropdown should get closed.

Reproducibility (Always/Intermittent/Only Once):
Always

Comment 3 Debsmita Santra 2021-09-02 14:15:45 UTC
verified on 4.9.0-0.nightly-2021-09-01-193941

Comment 6 errata-xmlrpc 2021-10-18 17:50:32 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.9.0 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:3759