Bug 2015134 - The switch status of the button "Show default project" is not revealed correctly in code
Summary: The switch status of the button "Show default project" is not revealed correc...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.z
Assignee: Kim Dobestein
QA Contact: Xiyun Zhao
Depends On: 2005554
TreeView+ depends on / blocked
Reported: 2021-10-18 13:38 UTC by OpenShift BugZilla Robot
Modified: 2021-11-22 21:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-11-22 21:47:05 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10252 0 None open [release-4.9] Bug 2015134: Reveal the switch status of the button "Show default project" in code 2021-10-18 13:38:40 UTC
Red Hat Product Errata RHBA-2021:4712 0 None None None 2021-11-22 21:47:18 UTC

Comment 2 Kim Dobestein 2021-10-21 19:25:33 UTC
The PR into 4.9 is https://github.com/openshift/console/pull/10252. 

Currently, it is failing tests - most likely to testing flakes.  I continue to watch it and once it passes tests, I can add the approve and other needed labels.

Comment 7 Xiyun Zhao 2021-11-11 09:37:39 UTC
This bug has been verified on payload 4.9.0-0.nightly-2021-11-10-153453

Verification Steps:
1. Log into OCP, navigate to Pods page
2. Click on the dropdown list for select project
3. Open developer mode on browser for tracking the HTML code
4. Switch on/off the button on "Shown default projects"
5. Verify if the attributes 'data-checked-state' is added for tracking the state of 'show default projects' button.
6. Navigate to other pages, like 'DeploymentConfigs', 'Services'
7. Verify if the changes are working on all 'showSystemSwitch' component

5,7. The new attributes 'data-checked-state' is added for the component whose data-set is 'showSystemSwitch'. 
     When the user switches on/off the button, the new attribute 'data-checked-state' will show 'true' and 'false' to help user track the state of the button easily

Comment 10 errata-xmlrpc 2021-11-22 21:47:05 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 (OpenShift Container Platform 4.9.8 bug fix 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.


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