Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-24606

Selecting YAML button on UI causes TypeError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ACM 2.12.6
    • MCE 2.7.5, ACM 2.12.5, MCE 2.7.6
    • Console
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 32 - 2
    • Important
    • Yes

      Description of problem:

      when selecting the "yaml" button on the import cluster section, the UI breaks and throws a TypeError:

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

      ACM 2.12.5-36

      MCE 2.7.6-41

      Hub cluster OCP 4.18.23

      How reproducible:

      always

      Steps to Reproduce:

      1. go the cluster list page
      2. click import cluster
      3. enable YAML editor via toggle button

      Actual results:

      Error is thrown

      TypeError

      Description:Cannot read properties of null (reading 'onKeyDown')
      Component trace:

       at t.SyncEditor (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/668.e180b65d.js:1:43791)
          at ve (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/exposed-clusters.8999fae9.js:1:443775)
          at div
          at div
          at is (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/553.c6c51b92.js:1:115802)
          at ll (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/553.c6c51b92.js:1:199047)
          at Ht (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:53692)
          at div
          at Qi (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/553.c6c51b92.js:1:197597)
          at el (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/553.c6c51b92.js:1:197805)
          at div
          at qi (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/553.c6c51b92.js:1:196365)
          at D (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:4467)
          at u (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:475)
          at Dt (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:46738)
          at At (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:46156)
          at Et (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:45527)
          at zt (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/281.9ec3f203.js:2:49055)
          at main
          at div
          at al (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/59.6658fdb4.js:1:207857)
          at t.AcmPage (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/627.81ca31f4.js:57:113514)
          at t.default (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/exposed-clusters.8999fae9.js:1:437936)
          at _ (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:4920)
          at ne (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:10364)
          at t.ACMNotReadyWarning (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/547.af44142d.js:1:415)
          at t.LostChangesProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/504.6932b456.js:1:9473)
          at t.LoadPluginData (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/547.af44142d.js:1:5031)
          at t.AcmTablePaginationContextProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/627.81ca31f4.js:57:153903)
          at t.AcmToastProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/627.81ca31f4.js:57:8712)
          at div
          at div
          at t.PluginContextProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/547.af44142d.js:1:7347)
          at u (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1560834)
          at d (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1560990)
          at p (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1561253)
          at _ (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:4920)
          at ne (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:10364)
          at Suspense
          at i (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:409855)
          at section
          at p (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:124199)
          at div
          at div
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1546083)
          at div
          at div
          at s (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:60:91314)
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:305542)
          at div
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:27721)
          at c (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1287524)
          at https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:378870
          at R (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:12:16009)
          at main
          at div
          at b (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:60:204167)
          at div
          at div
          at s (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:470241)
          at div
          at div
          at s (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:60:91314)
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:305542)
          at div
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:6:27721)
          at Bn (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:1:199383)
          at t.default (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:953083)
          at t.default (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/quick-start-chunk-68f7f1be7fcb75c321bb.min.js:1:1248)
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:187834)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1649037)
          at se (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1679054)
          at gt (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-patternfly-5~main-chunk-0adc306d0bb3449731f1.min.js:1:157286)
          at se (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1679054)
          at se (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1679054)
          at t.LoadData (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/exposed-contextProvider.d41f70ab.js:1:432)
          at t.QueryClientProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/600.7abfe853.js:205:2985716)
          at Gn (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/600.7abfe853.js:205:6582730)
          at RecoilRoot (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/600.7abfe853.js:205:6584703)
          at t.PluginDataContextProvider (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/api/plugins/mce/exposed-contextProvider.d41f70ab.js:1:9148)
          at se (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1679054)
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:868662)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1618646)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1616096)
          at ce (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1679176)
          at ue (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1682141)
          at _ (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:4920)
          at ne (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:10364)
          at _ (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:4920)
          at ne (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:10364)
          at te (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:23:9773)
          at G (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:12:11631)
          at t (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:12:21659)
          at de (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1682403)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:772209)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:1219749)
          at l (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/main-chunk-5923e067b37781f6a9bc.min.js:1:612796)
          at t.a (https://console-openshift-console.apps.cqu-mce291-y.dev09.red-chesterfield.com/static/vendor-plugins-shared~main-chunk-017daedec23fcc4c33d9.min.js:12:32137)
          at Suspense

      Expected results:

      Additional info:

              rh-ee-ndhevar Nitin Dhevar
              rhn-support-dhuynh David Huynh
              David Huynh David Huynh
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: