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

Topology list crashs when an app is selected (selectId=group.. parameter is defined)

XMLWordPrintable

    • False
    • False
    • 0
    • Undefined
    • Not Supported
    • ODC Sprint 199
    • Medium

      Description of problem:

      When the user opens the topology list, selects an app, select an action like "Add to Application" > "From Git" and return to the topology list with the cancel button the topology list crashs.

      It crashs as well if you select an app and just refresh your browser.

      It does not crash if the user selects an deployment.

      The topology graph is also not affected.

      Errors when testing this locally:

      Uncaught TypeError: Cannot read property 'eventSourceEnabled' of undefined
          at getKnativeContextMenuAction (create-connector-utils.ts:31)
      

      After a quick local null check I get another issue:

      Uncaught TypeError: Cannot read property 'createResourceAccess' of undefined
      

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

      Steps to Reproduce

      1. Open developer console
      2. Create a deployment with an application name
      3. Open topology and switch to the list view
      4. Select the application name and refresh your browser (URL contains ?view=list&selectId=group%3A...

      Actual results:

      App crashs and show a white screen (without an error boundary for the content section)

      Expected results:

      Topology list should be shown with the application selected and the sidebar opens automatically

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Tested versions:

      • 4.6.23 is not affected
      • 4.7.3 could reproduce crash
      • 4.8.0-0.nightly-2021-03-22-064955 could reproduce crash

      Additional info:

      None

              jephilli@redhat.com Jeffrey Phillips
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: