Bug 2069685

Summary: UI crashes on load if a pinned resource model does not exist
Product: OpenShift Container Platform Reporter: Jeff Phillips <jephilli>
Component: Dev ConsoleAssignee: Jeff Phillips <jephilli>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.11CC: cjerolim, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.11.0   
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: 2022-08-10 11:02:32 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 Jeff Phillips 2022-03-29 13:21:53 UTC
Description of problem:

If a user has pinned a resource type that is no longer supported on the cluster, the UI crashes on load of the developer perspective.

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


How reproducible:

Always

Steps to Reproduce:
1. Pin a CRD type that is created by an operator (KFDef on a system with RHODS)
2. Login to another system without RHODS using the same browser

Actual results:

UI crashes

Expected results:

UI shows but without the pinned resource that doesn't exist

Additional info:

Comment 3 Christoph Jerolimov 2022-04-25 09:14:53 UTC
Pinning, unpinning, reorder works fine. Could not reproduce a crash when uninstall an operator, this might happen just locally, so setting this to verified as I don't see an issue anymore.

4.11.0-0.nightly-2022-04-24-135651

Comment 6 errata-xmlrpc 2022-08-10 11:02:32 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069