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

QuickStartContext should be exposed via the dynamic plugin SDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.z
    • 4.16.0, 4.17.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-36678. The following is the description of the original issue:

      Description of problem:

      Quick starts are no longer working in the kubevirt-plugin while in dev mode. The cause appears to be the use of different instances of QuickStartContext.

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

      4.16    

      How reproducible:

      100%

      Steps to Reproduce:

      1. Run kubevirt-plugin in dev mode using the instructions in the plugin's README 
      2. Navigate to Virtualization > Overview
      3. Click on a quick start in the QuickStarts section of the Getting Started card
          

      Actual results:

      The following error is thrown: 
      setActiveQuickStart is not a function
      TypeError: setActiveQuickStart is not a function
          at onClick (http://localhost:9000/api/plugins/kubevirt-plugin/exposed-ClusterOverviewPage-chunk.js:8938:21)
          at onClick (http://localhost:9000/api/plugins/kubevirt-plugin/node_modules_patternfly_react-core_dist_esm_components_SimpleList_index_js-_c4a10-chunk.js:142:25)
          at Object.qe (http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:16073)
          at Je (http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:16227)
          at http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:34214
          at Sn (http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:34308)
          at An (http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:34722)
          at http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:40370
          at Re (http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:116041)
          at http://localhost:9000/static/vendors~main-chunk-371c85e9324f56231546.min.js:117:36181

      Expected results:

      The quick start opens

      Additional info:

          

            vszocs@redhat.com Vojtech Szocs
            openshift-crt-jira-prow OpenShift Prow Bot
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: