Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6200

Catched crash when installing helm chart or right click installed chart in topology

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • openshift-4.9
    • openshift-4.9
    • UI
    • ODC Sprint 205
    • Medium

      Description of problem:

      When installing a helm chart the helm chart is installed, but the console crashs with an error.

      The console crashes also when the user right click of helm chart workload in topology.

      An error was catched:

      TypeError
      Description:
      Converting circular structure to JSON --> starting at object with constructor 'd' | property 'children' -> object with constructor 'Array' | index 0 -> object with constructor 's' --- property 'parent' closes the circle
      
      Component Trace:
      minified version
      
      Stack Trace:
      TypeError: Converting circular structure to JSON
          --> starting at object with constructor 'd'
          |     property 'children' -> object with constructor 'Array'
          |     index 0 -> object with constructor 's'
          --- property 'parent' closes the circle
          at JSON.stringify (<anonymous>)
      

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Switch to developer perspective
      2. Add page > Select Helm charts
      3. Install one of the charts (error happens at least with Dotnet 0.0.1 and Quarkus 0.0.3)

      https://github.com/openshift/console/pull/9519/files#diff-f559d79848ae57197f5bd502fa3e7707f32fdcf388a36ccc7f7bc0b2d80a5677L9-L13

      Actual results:

      Error is being displayed

      Expected results:

      Could install the chart with an error.
      The context menu should be displayed when right click the chart in topology.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.9.0-0.nightly-2021-07-25-125326

      Additional info:

      Normal git workload, working fine, Only for Helm chart workloads error is displayed

            rorai Rohit Rai
            bmakam@redhat.com Balaji Makam (Inactive)
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: