Bug 2179626 - Filter can not be cleared in VM Diagnostic tab
Summary: Filter can not be cleared in VM Diagnostic tab
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.13.0
Assignee: Matan Schatzman
QA Contact: Leon Kladnitsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-19 09:50 UTC by Leon Kladnitsky
Modified: 2023-05-18 02:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:58:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
filtering (1.64 MB, video/mp4)
2023-03-19 09:50 UTC, Leon Kladnitsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-27049 0 None None None 2023-03-19 09:53:53 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:58:29 UTC

Description Leon Kladnitsky 2023-03-19 09:50:54 UTC
Created attachment 1951815 [details]
filtering

Description of problem: In VM Diagnostic tab there are 2 status filters. Once the value is selected they can not be cleared anymore. The "Clear all filters" button does not work. Unchecking filter checkboxes works only until one checkbox is checked, and the last one can't be cleared.


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


How reproducible:


Steps to Reproduce:
1. Open VM Diagnostic tab
2. Open Filter menu, select any filter
3. Click "Clear all filters" button, or try to remove filter in any way

Actual results: Filters are not cleared


Expected results: Filters are cleared



Additional info: The filters are synced, so they always have the same values. They  also have same IDs and classes, which makes writing automated tests difficult. It would be great, if control elements in different sections in the tab could be distinguished by different "data-test-id" attributes, especially if there are multiple sets of similar controls, like similar filters in multiple tab sections

Comment 1 Guohua Ouyang 2023-03-28 01:57:30 UTC
Leon, could you verify the bug?

Comment 2 Leon Kladnitsky 2023-04-09 02:10:07 UTC
Verified in  v4.13.0.rhel9-2026

Comment 4 errata-xmlrpc 2023-05-18 02:58:23 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 Virtualization 4.13.0 Images security, bug fix, and enhancement 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-2023:3205


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