Bug 1900022 - Search Page - Top labels field is not applied to selected Pipeline resources
Summary: Search Page - Top labels field is not applied to selected Pipeline resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 1901207
TreeView+ depends on / blocked
 
Reported: 2020-11-20 15:47 UTC by Andrew Ballantyne
Modified: 2021-02-24 15:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Search page top Name/Label filter not being applied to Pipelines resource section. Pipeline resource section shows 2nd Name/Label filter. Consequence: Top Name/Label filter not being applied to Pipelines due to incorrect 2nd Name/Label filter in Piple resource section. Fix: Removed 2nd Name/Label filter in Piple resource section. Result: On search page, filter "Pipelines" resource, now there is only top level name/label filter which filters out expected pipelines.
Clone Of:
: 1901207 (view as bug list)
Environment:
Last Closed: 2021-02-24 15:35:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
search_filterByLabel (1.75 MB, image/gif)
2020-11-20 15:47 UTC, Andrew Ballantyne
no flags Details
Search_filterByName (1.60 MB, image/gif)
2020-11-20 16:18 UTC, Andrew Ballantyne
no flags Details
Search - Filter in Resource Section, filter by label displays possible labels tooltip and filters correctly (48.38 KB, image/png)
2020-11-20 16:28 UTC, David Taylor
no flags Details
Search - Top Filter, filter by label doesn't filter resources (62.47 KB, image/png)
2020-11-20 16:29 UTC, David Taylor
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7318 0 None closed Bug 1900022: Search Page - Top Name/Label filter is not applied to selected Pipeline resources 2021-02-10 18:13:32 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:35:33 UTC

Description Andrew Ballantyne 2020-11-20 15:47:53 UTC
Created attachment 1731306 [details]
search_filterByLabel

Description of problem:
When searching for a label on the Search Page (using the top search for label bar), it does not apply my selection to the resources I have selected.

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2020-11-18-085225

In my case, I used the Pipeline Operator (version doesn't matter, but I was on 1.2.0 - preview channel).

How reproducible:
Always

Steps to Reproduce:
1. Go to Search
2. Select a resource
3. Filter for a label that matches
3a. I used Pipelines, so I filtered on "pipeline.openshift.io/runtime=nodejs"

Actual results:
The top filter component does not impact the selected resources

The selected resources have a label selection, and that works.

Expected results:
Top filter to apply the filter to all selected resources (I would think, given that's how the name filter works)

Additional info:

Comment 1 Andrew Ballantyne 2020-11-20 16:18:30 UTC
Created attachment 1731318 [details]
Search_filterByName

Adding the Search_filterByName gif. This showcases a similar problem with name filtering in the top bar, but oddly slightly different in that it applies the search to the selected resource.

Comment 2 David Taylor 2020-11-20 16:28:26 UTC
Created attachment 1731325 [details]
Search - Filter in Resource Section, filter by label displays possible labels tooltip and filters correctly

Comment 3 David Taylor 2020-11-20 16:29:17 UTC
Created attachment 1731326 [details]
Search - Top Filter, filter by label doesn't filter resources

Comment 5 Yadan Pei 2020-11-27 02:47:02 UTC
fix is not included in 4.7.0-0.nightly-2020-11-26-201843 yet

Comment 6 Yanping Zhang 2020-12-01 08:51:22 UTC
Tested against pr: https://github.com/openshift/console/pull/7318. On search page, filter "Pipelines" resource, now there is only top level name/label filter, and filter by label, could filter out expected pipelines.

Comment 9 errata-xmlrpc 2021-02-24 15:35:07 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.7.0 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-2020:5633


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