Bug 1798130
| Summary: | Invalid descriptor prevents operand details from displaying | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Samuel Padgett <spadgett> |
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3.0 | CC: | aos-bugs, jokerman, sweimer, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.3.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, the console would fail to show an operand if an invalid OLM descriptor was set by an operator. The console now tolerates invalid descriptors and will show the operand details.
|
Story Points: | --- |
| Clone Of: | 1797727 | Environment: |
Version: 4.3.0-0.ci-2020-01-29-133443
Cluster ID: 2ebfb326-d1fe-4061-a5ce-2858a7a90cf6
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
|
| Last Closed: | 2020-04-30 01:28:07 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: | 1797727 | ||
| Bug Blocks: | |||
*** Bug 1827656 has been marked as a duplicate of this bug. *** 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:1529 |
1. Install Red Hat Integration - 3scale operator 2. Go to Installed Operators -> Red Hat Integration - 3scale -> click YAML tab specDescriptors: - description: Wildcard domain as configured in the API Manager object displayName: Wildcard Domain path: wildcardDomain // change this line x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:label' 3. Change spec.specDescriptors.path to 'system' and Save yaml, it will look like below after changes specDescriptors: - description: Wildcard domain as configured in the API Manager object displayName: Wildcard Domain path: system // this line is changed x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:label' 4. Create API Manager instance and view its details, now the details can be shown without crash, we can also see JS error in F12 which was skipped Error: "Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7BappSpec%2C%20sidekiqSpec%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. " Verified on 4.3.0-0.nightly-2020-04-17-001437