Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-1704

UI Crash on Namespace Search in Migration Plan Wizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTC 1.8.6
    • MTC 1.8.6
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Critical

      Description of problem:

      When searching for a namespace in the "Select Namespace" step of the Migration Plan Wizard, the UI crashes and disappears after clicking the search icon. The browser console shows a JavaScript error indicating that an undefined value is being accessed.

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

      How reproducible:
      Always

      Steps to Reproduce:

      1. Navigate to the Migration Plan Wizard.
      2. Proceed to the "Select Namespace" step.
      3. Enter a namespace name in the search field.
      4. Click the search icon.
      5. Observe that the UI disappears and the error appears in the console.

      Actual results:

      The UI disappears, and the console logs the following error:

      app.bundle.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
          at app.bundle.js:2:4629347
          at Array.every (<anonymous>)
          at app.bundle.js:2:4629252
          at Array.filter (<anonymous>)
          at t.useFilterState (app.bundle.js:2:4629226)
          at t.default (app.bundle.js:2:4813040)
          at ii (app.bundle.js:2:4325565)
          at Ui (app.bundle.js:2:4335063)
          at Wr (app.bundle.js:2:4378386)
          at Ss (app.bundle.js:2:4364760)

      Expected results:
      The search should filter and display matching namespaces without causing the UI to crash.

      Additional info:

              rhn-support-awels Alexander Wels
              midays mohamed idays
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: