Bug 1851088

Summary: console hit runtime error when all receivers are deleted
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: David Taylor <dtaylor>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jcaiani, jokerman, pweil, xiaocwan
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: 1. goto monitoring/alertmanageryaml page, and delete all receivers including Critical, Default and Watchdog 2. refresh the page Consequence: get a blank page and runtime error: Uncaught TypeError: Cannot read property 'filter' of undefined Fix: null and empty logic tests were added Result: correctly displays the empty state screen when all receivers deleted.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-10 13:50:20 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: 1849556    
Bug Blocks:    
Attachments:
Description Flags
Verification screenshot none

Comment 1 David Taylor 2020-06-25 15:43:29 UTC
*** Bug 1849739 has been marked as a duplicate of this bug. ***

Comment 2 Joe Caiani 2020-07-10 15:48:16 UTC
will investigate next sprint

Comment 5 XiaochuanWang 2020-07-31 03:03:55 UTC
Created attachment 1703027 [details]
Verification screenshot

Comment 6 XiaochuanWang 2020-07-31 03:05:17 UTC
Tried for several times, this is not reproduced (attached the screenshot for refer)
Verified on 4.5.0-0.nightly-2020-07-30-213620

Comment 8 errata-xmlrpc 2020-08-10 13:50:20 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.5.5 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-2020:3188