Description of problem: When the user opens an unknown (?) CSV resources in the topology sidebar, and clicks on Actions > Delete the delete modal is not opened. Version-Release number of selected component (if applicable): console master (tested with revision e463efccf958d39b819bb0b08133be54ca773d9d) How reproducible: Always Steps to Reproduce: 1. Open Operator Hub and install the "Primer" GitOps Operator 2. Switch to developer perspective 3. Import at least one Application to enable the Export button in topology 4. If not opened yet, open the topology, and click the "Export Application" button 5. Wait until the export finishs and a new Deployment "primer-export-primer" was shown 6. Click on surrounding CSV Export "Primer" to open the sidebar 7. Click in the topology sidebar on Actions > Delete Export Actual results: Nothing happen (in production mode) In the browser console or when in dev mode you can see an ignored runtime error: TypeError: Cannot read properties of undefined (reading 'labelKey') Call Stack Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'labelKey') at delete-modal.tsx:79 at renderWithHooks (react-dom.development.js:14985) Expected results: The 'confirm deletion' modal should open and allow me to remove the Export resource. Additional info: The "Delete Project" also do nothing for the default project, but this issue doesn't show the same error in the browser console. So I think they are NOT aligned. https://bugzilla.redhat.com/show_bug.cgi?id=2013996
Created attachment 1838067 [details] export-delete-error.mp4
verified OpenShift version 4.10.0-0.ci-2021-12-16-184808 Kubernetes version v1.22.1-1757+6859754c3ffc75-dirty Cluster ID 5ed2ffcf-de10-4c82-be7f-e2ebd8ba2cc0 API server https://api.ci-ln-tdh4wwk-72292.origin-ci-int-gce.dev.rhcloud.com:6443
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