Created attachment 1860188 [details] page crashes Description of problem: Clicking on 'Insights' link crashes the page, if Issues are pending Version-Release number of selected component (if applicable): master How reproducible: 100 Steps to Reproduce: 1. Open Overview page on cluster with some issues 2. Click 'Insights' link on 'Status' page Actual results: Page crashes Expected results: Insights popup is displayed Additional info: Stack trace: TypeError: Cannot read properties of null (reading 'data') at v (http://0.0.0.0:9000/static/main-chunk-b33574c94a3edea607a2.min.js:1:701333) at b (http://0.0.0.0:9000/static/insights-plugin-chunk-a31d24ceca76bc673915.min.js:1:1213) at na (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:58879) at Hs (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:111315) at xc (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:98327) at Cc (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:98255) at _c (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:98118) at pc (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:95105) at http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:263:44774 at t.unstable_runWithPriority (http://0.0.0.0:9000/static/vendors~main-chunk-98eea784d30223057c7d.min.js:271:3768)
Moving to Management console as it is in the cluster overview page
This bug has been verified on payload 4.12.0-0.nightly-2022-07-19-125123 Verification Step: 1. Login in OCP, open the Overview page with some issues, and make sure the Insights state is in a pending state on the status section 2. Click the 'Insights' link on the 'Status' section 3. Check if the pop-up windows can be shown normally Result: 3. the pop up windows can be shown normally, the page will not crash with any error, and the link on the popup windows can be redirected to right 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 (Moderate: OpenShift Container Platform 4.12.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:7399