Description of problem: Currently we display "Unsupported" on the Operand details page when a descriptor falls through to the default details item and is not a primitive data type: https://github.com/openshift/console/blob/10788fddfaaed31f0b5b64d34690d5a5f324652a/frontend/packages/operator-lifecycle-manager/src/components/descriptors/common.tsx#L33-L35 This causes confusion as it's not clear that the message only relates to the field data type and not the field itself. Version-Release number of selected component (if applicable): 4.8 How reproducible: Always Steps to Reproduce: 1. Create the CRD, CSV, and Operand from this gist in the default namespace: https://gist.github.com/TheRealJon/3680c8a573bde88a974588e269230562 2. Navigate to /k8s/ns/default/clusterserviceversions/mock-operator/test.tectonic.com~v1~MockResource/mock-resource-instance 3. Look for the Field Group detail item on the resulting page Actual results: The item exists and renders the message "Unsupported" Expected results: Since the data type is not supported, we should not render a detail item
Hi Jackson, After verified this bug on OCP4.9.As you said, since the data type is not supported, we should not render a detailed item. But the layout of the page does not seem correct, a blank part will instead of the properties. If more than one field with the unsupported data type, the page will look discordances (shared a snapshot) Please help to take a look Thanks
@xiyuzhao I've addressed your comment in my latest PR. This should be fixed now.
This bug has been verified and payload 4.11.0-0.nightly-2022-05-18-053037 Verification Step 1. Follow the reproduce steps on Bug description 1) Create the CRD, CSV, and Operand from this gist in the default namespace: https://gist.github.com/TheRealJon/3680c8a573bde88a974588e269230562 2) Navigate to /k8s/ns/default/clusterserviceversions/mock-operator/test.tectonic.com~v1~MockResource/mock-resource-instance 3) Look for the Field Group detail item on the resulting page 2. Verify if the "Unsupported" data type is still rendered detail item on the page Result: 2. The unsupported data type will not render details on the page, and no layout issue is found on the page
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 (Important: OpenShift Container Platform 4.11.0 bug fix and 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:5069