Bug 1847277
| Summary: | Console crash when creating EtcdRestore instance | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> |
| Component: | Management Console | Assignee: | Jon Jackson <jonjacks> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.5 | CC: | aos-bugs, jhadvig, jokerman, jonjacks, xiaocwan, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.5.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: On the create EtcdRestore form, the k8sResourceSelector for one of the fields was not being passed a k8s model.
Consequence: A runtime error occurred when trying to access a property of a non-existent model.
Fix: Add a check to ensure that the model is defined before accessing its properties, and only render the resulting k8s resource dropdown if the model exists.
Result: No runtime error is encountered on the EtcdRestore creation page, and the k8s resource dropdown that was causing the problem is omitted from the form.
|
Story Points: | --- |
| Clone Of: | 1845815 | Environment: | |
| Last Closed: | 2020-07-30 18:56:59 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: | 1845815 | ||
| Bug Blocks: | |||
|
Comment 1
Jon Jackson
2020-06-19 13:29:37 UTC
This does not reproduced. Verified on 4.5.0-0.nightly-2020-07-23-201307 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, 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:3028 |