Bug 1949155

Summary: Console doesn't correctly check for favorited or last namespace on load if project picker used
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Scrubbed
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.8.0-0.nightly-2021-04-09-222447 Cluster ID: 6f4c2255-d9ef-4396-8161-e01de49ee502 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Last Closed: 2021-07-27 23:00:23 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:

Description Robb Hamilton 2021-04-13 14:51:24 UTC
Description of problem:  On console load, the project picker can be set to a project that no longer exists if the project was deleted via the command line.  See steps to reproduce below.


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


How reproducible:  Always


Steps to Reproduce:
1. create a new project
2. navigate to Workloads > Pods
3. set the project picker to "All Projects"
4. set the project picker back to the project created in step 1
5. delete the project created in step 1 via the command line
6. quit the browser
7. restart the browser and navigate from Home > Overview to Workloads > Pods
8. note the project picker is set to the deleted project

Actual results:  The project picker is set to a project that has been deleted


Expected results:  The project picker should not be set to a project that no longer exists

Comment 2 Yanping Zhang 2021-04-19 09:20:25 UTC
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-04-18-203506
Steps to Reproduce:
1. create a new project
2. navigate to Workloads > Pods
3. set the project picker to "All Projects"
4. set the project picker back to the project created in step 1
5. delete the project created in step 1 via the command line
6. quit the browser
7. restart the browser and navigate from Home > Overview to Workloads > Pods, the project picker is set to "All projects" now.

Comment 5 errata-xmlrpc 2021-07-27 23:00: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 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