Bug 1937018
Summary: | FilterToolbar component does not handle 'null' value for 'rowFilters' prop | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jon Jackson <jonjacks> | ||||
Component: | Management Console | Assignee: | Jon Jackson <jonjacks> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.6 | CC: | aos-bugs, jokerman, tomckay, yanpzhan | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: rowFilters prop in FilterToolbar component was not null-checked.
Consequence: Uncaught exception was thrown if rowFilters prop was undefined.
Fix: Add null coalescence or optional chaining wherever rowFilters prop is referenced in FilterToolbar component.
Result: FilterToolbar does not throw uncaught exception when rowFilters prop is undefined.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1939608 (view as bug list) | Environment: | |||||
Last Closed: | 2021-07-27 22:52:25 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1939608 | ||||||
Attachments: |
|
Description
Jon Jackson
2021-03-09 17:00:42 UTC
Since the All Instances tab is not rendered when only one API is provided on ocp 4.8, so the bug doesn't exist on ocp 4.8 cluster, and also checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-03-17-160945 which contains the update from the pr, there is no other issue found. 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 |