Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When we run a migration and we click on the "Migration plan resources" section, if we press a key in the keyboard the UI crashes. Version-Release number of selected component (if applicable): MTC 1.4.3 Browser: chrome 89 How reproducible: Always Steps to Reproduce: 1. Create an empty namespace in the source cluster 2. Create a migration plan for the empty namespace and execute the migration 3. In the UI, click on the migration plan 4. Click now on "Migration plan resources" to expand the resources that belong to this migration 5. Press a key on the keyboard (notice that the focus is on the "Type to search" filter by default.) Actual results: The UI crashes and becomes blank. This error is displayed in the browser's console: app.bundle.js:2 Uncaught TypeError: e.name.toLowerCase is not a function at app.bundle.js:2 at Array.map (<anonymous>) at y (app.bundle.js:2) at t.PlanDebugPage (app.bundle.js:2) at ci (app.bundle.js:2) at Fi (app.bundle.js:2) at Br (app.bundle.js:2) at bs (app.bundle.js:2) at Ms (app.bundle.js:2) at Os (app.bundle.js:2) Expected results: The UI should not crash and the resources should be filtered properly. Additional info: If we remove the focus from the "Type to search" filter the crash does not happen.
verified with MTC 1.4.3. Image: registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:7fd53cc1b3e215736b4138abec2537adce01335babd108c4ccb6d5c5e6e63345
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Migration Toolkit for Containers (MTC) tool image release advisory 1.4.3), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1439