Bug 1904414 - [MTC-UI] Blank screen when trying to create a migration plan for an empty namespace
Summary: [MTC-UI] Blank screen when trying to create a migration plan for an empty nam...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.4.0
Assignee: Ian
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-04 11:58 UTC by Sergio
Modified: 2021-02-11 12:55 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-11 12:54:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5329 0 None None None 2021-02-11 12:55:07 UTC

Description Sergio 2020-12-04 11:58:23 UTC
Description of problem:
When we try to create a migration plan for an empty namespace, when we reach the step 5 "Migration options" the browser shows a blank screen and we cannot continue.

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

How reproducible:
Always

Steps to Reproduce:
1. Create an empty namespace in the source cluster

$ oc new-project empty-project


2. Create a migration plan for this project


Actual results:
When we reach the step 5 "Migration options", the browser shows a blank screen, and in the console we can see this error:

TypeError: Cannot read property 'filter' of undefined
    at t.default (app.bundle.js:130)
    at fi (app.bundle.js:98)
    at Oc (app.bundle.js:98)
    at gl (app.bundle.js:98)
    at ul (app.bundle.js:98)
    at rl (app.bundle.js:98)
    at app.bundle.js:98
    at t.unstable_runWithPriority (app.bundle.js:106)
    at Ga (app.bundle.js:98)
    at $a (app.bundle.js:98)


Expected results:
We should be able to create the migration plan without errors.

Additional info:

Comment 1 Ian 2020-12-07 23:34:21 UTC
PR open pending review and merge https://github.com/konveyor/mig-ui/pull/1081

Comment 6 Sergio 2020-12-17 11:43:55 UTC
Verified using MTC 1.4.0 

openshift-migration-rhel7-operator@sha256:61de8be7e30fb15b278aeececb0de8ac5ecaeb221a312ab1140e6c925ab0e217

    - name: MIG_UI_REPO
      value: openshift-migration-ui-rhel8@sha256
    - name: MIG_UI_TAG
      value: be417d9a34e4f046bbc9fa4150e6355a6ea4ff61a3c6ec8d2bf3597a76fbacd0


Migration plans for empty namespaces can be created without problems from the UI.


Moved to VERIFIED status.

Comment 8 errata-xmlrpc 2021-02-11 12:54:49 UTC
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.0), 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-2020:5329


Note You need to log in before you can comment on or make changes to this bug.