Description of problem: there is no validation against the migplan name length, I can input migplan name with more than 100 characters. And it didn't create migplan, I didn't see any error from UI or backend. Version-Release number of selected component (if applicable): MTC 1.5.0 How reproducible: Always Steps to Reproduce: 1. When creating migplan, fill in name longer than 100 characters. 2. Click Next Actual results: It was stuck in loading for a long time when clicking Next to navigate to Namespace page Expected results: It should valide migplan name when you fill in a longer name Additional info:
This should be an easy one to knock out for a future release.
verified with MTC 1.6.0. It will validate the length of migplan name and report warning "The plan name can be between 3 and 63 characters long" Image: registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:3e46187b2ff8c76c4022b418631d07eb40a347d15012d061c079e643a4188b6d
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 (Moderate: Migration Toolkit for Containers (MTC) 1.6.0 security & bugfix update), 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/RHSA-2021:3694