Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44299

TypeError: Cannot set properties of undefined (setting 'data') when open 4.18 admin/dev console Alerts/Silences/Metrics URLs in new tab

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18
    • Observability UI
    • None
    • Moderate
    • Yes
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      4.18.0-0.nightly-2024-11-06-051814 cluster, login admin console

      1. go to "Observe -> Alerting", Alerts tab, URL is
        https://$ {console_url}/monitoring/alerts?rowFilter-alert-state=firing&rowFilter-alert-source=platform
      2. Silences tab, URL is
        https://$ {console_url}/monitoring/silences

      copy the URL and open a new browser tab to navigate to the URL will get TypeError on UI

      Description:
      Cannot set properties of undefined (setting 'data')
      Stack trace:
      TypeError: Cannot set properties of undefined (setting 'data')
          at x (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/api/plugins/monitoring-plugin/exposed-MonitoringReducer-chunk-74d7bc4bc4009325d351.min.js:1:3287)
          at https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-fd0e8236a9674ada24ee.min.js:12:52440
          at https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-fd0e8236a9674ada24ee.min.js:12:52440
          at m (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-fd0e8236a9674ada24ee.min.js:12:50462)
          at https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-fd0e8236a9674ada24ee.min.js:1:4857
          at https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/api/plugins/monitoring-plugin/exposed-MonitoringUI-chunk-89a91a7fe997ca283fef.min.js:1:140348
          at ju (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-cf0f4ce82ccd675bb0ee.min.js:117:104246)
          at t.unstable_runWithPriority (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-cf0f4ce82ccd675bb0ee.min.js:125:3768)
          at Ui (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-cf0f4ce82ccd675bb0ee.min.js:117:44551)
          at Eu (https://console-openshift-console.apps.qe-uidaily-1107.qe.azure.devcluster.openshift.com/static/vendors~main-chunk-cf0f4ce82ccd675bb0ee.min.js:117:103709)
      

      see attached picture: https://drive.google.com/file/d/1Qdxw6MY6J5x9yfsjVj5Q7Wwl9JuE2jlp/view?usp=drive_link

      same error for dev console, Observe Silences/Alerts/Metrics tab

      Version-Release number of selected component (if applicable):

      4.18.0-0.nightly-2024-11-06-051814

      How reproducible:

      always with 4.18

      Steps to Reproduce:

      1. see the descriptions
          

      Actual results:

      TypeError: Cannot set properties of undefined (setting 'data') when open some admin/dev console Alerts/Silences URLs in new tab

      Expected results:

      no error

      Additional info:

      compared with 4.17, no such issue with 4.17, only for 4.18

              gbernal@redhat.com Gabriel Bernal
              juzhao@redhat.com Junqi Zhao
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: