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

[UI] JavaScript error after clicking on "Select an automation template" in Create cluster wizard (MCE 2.1.6)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • MCE 2.1.6
    • MCE 2.2.0, MCE 2.1.0
    • None
    • None
    • False
    • None
    • False
    • Important
    • None

      Description of the problem:

      Getting JavaScript error in Create cluster wizard, after clicking on "Select an automation template" dropdown. After clicking on the dropdown I'm getting the following error when I click on the "Next" button or somewhere else in the page.

      See recording attached and error below:

      TypeErrorDescription:Cannot set properties of undefined (setting 'active')
      Component trace:
          at v (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:55432)
          at div
          at div
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:10:16593)
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:53733)
          at div
          at div
          at a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:359792)
          at div
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:119799)
          at div
          at div
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:118154)
          at div
          at h (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:207440)
          at f (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:92875)
          at div
          at S (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:35165)
          at section
          at m (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:459777)
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:155035)
          at div
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:318180)
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:14254)
          at div
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:285316)
          at div
          at div
          at A (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:907)
          at section
          at m (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:459777)
          at t.AcmAlertProvider (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:6713)
          at l (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:34275)
          at https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/386.beebf2a4.js:205:150266
          at t.AcmPageContent (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:100726)
          at l (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:34275)
          at https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/386.beebf2a4.js:205:150266
          at main
          at div
          at v (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:47205)
          at t.AcmPage (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:97268)
          at t.default (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/exposed-clusters.d61826cc.js:1:292666)
          at t.CreateClusterPage (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/exposed-clusters.d61826cc.js:1:443318)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:58042)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:60087)
          at t.LoadPluginData (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/903.e13e85d7.js:1:7573)
          at t.AcmTablePaginationContextProvider (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:124963)
          at t.AcmToastProvider (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/7.2d7d1975.js:58:9009)
          at div
          at div
          at t.PluginContextProvider (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/903.e13e85d7.js:1:8779)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:58042)
          at I (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1499108)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:60087)
          at Suspense
          at i (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:469890)
          at section
          at m (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:459777)
          at div
          at div
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1499355)
          at div
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:318180)
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:14254)
          at div
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:285316)
          at l (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1156932)
          at https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:476756
          at S (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:93:80887)
          at main
          at div
          at v (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:47205)
          at div
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:155035)
          at div
          at div
          at c (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:318180)
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:1:14254)
          at div
          at d (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendor-patternfly-core-chunk-5d366f9ff45bc8b789ae.min.js:5:285316)
          at On (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:36:184997)
          at t.default (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:859120)
          at t.default (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/quick-start-chunk-b1d3ca0d8c571e2cc732.min.js:1:1261)
          at s (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:236886)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1570208)
          at Z (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1587913)
          at st (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:36:145290)
          at Z (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1587913)
          at Z (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1587913)
          at t.LoadData (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/exposed-contextProvider.2f4621d7.js:1:307)
          at qn (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/386.beebf2a4.js:205:7123414)
          at RecoilRoot (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/386.beebf2a4.js:205:7125387)
          at t.PluginDataContextProvider (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/exposed-contextProvider.2f4621d7.js:1:8151)
          at Z (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1587913)
          at i (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:816222)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1564587)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1562004)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1564398)
          at ee (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1588044)
          at https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1590824
          at r (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:36:125399)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:58042)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:60087)
          at t (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:21:54647)
          at ne (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1591135)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:790857)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:1062134)
          at s (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/main-chunk-3210bc3c2c1e36761d8e.min.js:1:612734)
          at t.a (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:141:244868)
          at Suspense
       
      Stack trace:
      TypeError: Cannot set properties of undefined (setting 'active')
          at t.onChangeAutomationTemplate (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/exposed-clusters.d61826cc.js:1:407045)
          at A.handleControlChange (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:12136)
          at S.handleControlChange (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:44585)
          at i (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:55871)
          at getDerivedStateFromProps (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/api/plugins/mce/306.540a2748.js:1:56314)
          at fo (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:254:48336)
          at Ba (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:254:70316)
          at Hs (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:254:112371)
          at wc (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:254:98327)
          at Cc (https://console-openshift-console.apps.ocp-edge-cluster-0.qe.lab.redhat.com/static/vendors~main-chunk-c0c15fae48996264a3e4.min.js:254:98255)

        1. image-2023-02-01-17-47-16-076.png
          64 kB
          Kevin Cormier
        2. Screencast.webm
          182 kB
          Kevin Cormier

              jtomasek@redhat.com Jiri Tomasek (Inactive)
              epassaro@redhat.com Elsa Passaro
              Elsa Passaro Elsa Passaro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: