Bug 2015134

Summary: The switch status of the button "Show default project" is not revealed correctly in code
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Kim Dobestein <kdoberst>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: amagrawa, aos-bugs, jokerman, kdoberst, yanpzhan, yapei
Target Milestone: ---Keywords: AutomationBlocker
Target Release: 4.9.z   
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-11-22 21:47:05 UTC Type: ---
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: 2005554    
Bug Blocks:    

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

Result:
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.

https://access.redhat.com/errata/RHBA-2021:4712