Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-65198

Console Tooltip for OCP-V Template disk causes unhandled error in Javascript

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • CNV v4.19.1
    • None
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem

         Using the OCP-V template, edit boot source option and then clicking the tooltip for Enable preallocation causes a JavaScript error because the redirect link contains a #.
      
      
      Error:
      pp.jsx:607 unhandled error: Uncaught Error: Cannot include a '#' character in a manually specified `to.pathname` field [{"pathname":"https://docs.redhat.com/documentation/openshift_container_platform/latest/html/virtualization/storage#virt-using-preallocation-for-datavolumes"}].  Please separate it out to the `to.hash` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you. Error: Cannot include a '#' character in a manually specified `to.pathname` field [{"pathname":"https://docs.redhat.com/documentation/openshift_container_platform/latest/html/virtualization/storage#virt-using-preallocation-for-datavolumes"}].  Please separate it out to the `to.hash` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.    at u (https://console-openshift-console.apps.cluster2.tide.lan/static/vendors~main-chunk-e65c6be2bf21f5129d3f.min.js:32:2992)    at P (https://console-openshift-console.apps.cluster2.tide.lan/static/vendors~main-chunk-e65c6be2bf21f5129d3f.min.js:32:11069)    at https://console-openshift-console.apps.cluster2.tide.lan/static/vendor-plugins-shared~main-chunk-c0669e3dee17408227ef.min.js:23:2761    at Object.useMemo (https://console-openshift-console.apps.cluster2.tide.lan/static/vendors~main-chunk-e65c6be2bf21f5129d3f.min.js:115:64802)    at t.useMemo (https://console-openshift-console.apps.cluster2.tide.lan/static/vendor-plugins-shared~main-chunk-c0669e3dee17408227ef.min.js:31:5743)    at R (https://console-openshift-console.apps.cluster2.tide.lan/static/vendor-plugins-shared~main-chunk-c0669e3dee17408227ef.min.js:23:2738)    at p (https://console-openshift-console.apps.cluster2.tide.lan/static/vendor-plugins-shared~main-chunk-c0669e3dee17408227ef.min.js:23:1047)    at https://console-openshift-console.apps.cluster2.tide.lan/static/vendor-plugins-shared~main-chunk-c0669e3dee17408227ef.min.js:12:4812    at ra (https://console-openshift-console.apps.cluster2.tide.lan/static/vendors~main-chunk-e65c6be2bf21f5129d3f.min.js:115:58879)    at Ma (https://console-openshift-console.apps.cluster2.tide.lan/static/vendors~main-chunk-e65c6be2bf21f5129d3f.min.js:115:67023) Error: Cannot include a '#' character in a manually specified `to.pathname` field [{"pathname":"https://docs.redhat.com/documentation/openshift_container_platform/latest/html/virtualization/storage#virt-using-preallocation-for-datavolumes"}].  Please separate it out to the `to.hash` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.    at u (router.js:270:11)    at P (router.js:1062:5)    at index.js:314:30    at Object.useMemo (react-dom.production.min.js:172:115)    at t.useMemo (react.production.min.js:23:113)    at R (index.js:314:10)    at p (index.js:100:7)    at index.js:423:14    at ra (react-dom.production.min.js:157:137)    at Ma (react-dom.production.min.js:176:260) 

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

          

      How reproducible:

          Very Reproducible 

      Steps to Reproduce:

          1. Create a Custom OCP-V template
          2. Click the action drop-down in the template to edit the boot source 
          3. Click the add disk option and select the option to clone a volume
          4. Scroll down on the pop-up page and click the ? link next to "Enable Preallocation"
          5 Screen goes blank because of faulty redirect.
          

      Actual results:

          Screen goes blank because of faulty redirect.

      Expected results:

          Either Pop-Up or Redirect to Documentation successfully.

      Additional info:

          

              mschatzm@redhat.com Matan Schatzman
              moyegunl Moyosooreoluwa Oyegunle
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: