Bug 2021337
| Summary: | Dynamic Plugins: ResourceLink doesn't render when passed a groupVersionKind | ||
|---|---|---|---|
| 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.10 | CC: | aos-bugs, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-10 16:26:09 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
Samuel Padgett
2021-11-08 22:06:02 UTC
this bug can be verified by inspecting code changes
with current changes:
if (!kind && !groupVersionKind) {
return null;
}
console only returns null when neither kind and groupVersionKind are present
moving to VERIFIED
moving back to ON_QA and more research is needed Yadan, I have a plugin which uses this API if you need it: https://github.com/spadgett/console-customization-plugin/blob/main/src/components/CustomizationList.tsx#L89-L93 Thanks Sam : ) 1. Deploy a console-customization plugin with file https://raw.githubusercontent.com/spadgett/console-customization-plugin/main/oc-manifest.yaml $ oc apply -f oc-manifest.yaml namespace/console-customization-plugin created deployment.apps/console-customization-plugin created service/console-customization-plugin created consoleplugin.console.openshift.io/console-customization created 2. Enable console-customization dynamic plugin and refresh console 3. Navigate to Administration -> Customization or visit /customization, check the customized resource table and resource links in the row, the resource links are correctly rendered(clicking on any resource link will redirect user to correct resource page) verified on 4.10.0-0.nightly-2021-11-15-034648 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056 |