Bug 1880946
| Summary: | Deleting Deployment and DeploymentConfig while on the Detail tab is open shows Oh no screen | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Christoph Jerolimov <cjerolim> |
| Component: | Dev Console | Assignee: | Christoph Jerolimov <cjerolim> |
| Status: | CLOSED ERRATA | QA Contact: | Debsmita Santra <dsantra> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | aos-bugs, dsantra, krina234pestro, nmukherj |
| Target Milestone: | --- | ||
| Target Release: | 4.6.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: | 2020-10-27 16:42:58 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: | |||
verified this on build 4.6.0-0.nightly-2020-09-24-095222 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.6 GA Images), 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:4196 Hello, You’re encountering a common issue when a Deployment or DeploymentConfig is deleted while its detail page is open in another tab. The error Type Error: Cannot read property 'pods' of undefined indicates that the code is trying to access a property of an object that no longer exists. https://www.my-fordbenefits.com |
Description of problem: When deleting a Deployment or DeploymentConfig in another browser tab (or with the cli) a Dev Console tab crashs when this Deployment or DeploymentConfig was opened and the "Detail" tab was opened. Both cases shows the same error log in Development mode: TypeError: Cannot read property 'pods' of undefined at PodRingSet (PodRingSet.tsx:19) In the Production build this was handled by an Error Boundary "Oh no! Something went wrong." But all other tabs shows a message "404: Not Found" after the D/DC was removed. Reloading this tab works also as expected and shows the "404: Not Found" message. Version-Release number of selected component (if applicable): 4.6 Console How reproducible: Always Steps to Reproduce: 1. Create a Deployment or DeploymentConfig (tested with a container image) 2. Open the detail page in a new tab 3. Remove the surrounding app or D/DC in another tab 4. Switch tab where you opened the detail page before Actual results: Crash / "Oh no! Something went wrong." screen was shown Expected results: That the message "404: Not Found" was shown similar to all other D/DC tabs. Additional info: None