Bug 2040693 - “Replication repository” wizard has no validation for name length
Summary: “Replication repository” wizard has no validation for name length
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.6.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 1.7.2
Assignee: Ian
QA Contact: mohamed
Richard Hoch
URL:
Whiteboard:
Depends On: 2040166
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 14:27 UTC by Erik Nelson
Modified: 2022-07-01 09:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2040166
Environment:
Last Closed: 2022-07-01 09:52:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1444 0 None open Bug 2040693: Update repository name validation to use name length validation 2022-06-14 14:30:55 UTC
Github konveyor mig-ui pull 1450 0 None open [Backport - 1.7.2] Bug 2040693: Update repository name validation to use name length validation 2022-06-15 20:51:15 UTC
Red Hat Product Errata RHSA-2022:5483 0 None None None 2022-07-01 09:53:10 UTC

Description Erik Nelson 2022-01-14 14:27:44 UTC
+++ This bug was initially created as a clone of Bug #2040166 +++

Description of problem: Replication repository name length has no validation and hence if you enter a really long name, the UI behaves unexpectedly.
Severity: Low

Version-Release number of selected component (if applicable):
MTC 1.6.3
SOURCE CLUSTER: AWS 4.6 MTC 1.6.3
TARGET CLUSTER: AWS 4.9 MTC 1.6.3

How reproducible:
Always


Steps to Reproduce:
1. Login to the MTC web console
2. Click on “Add Replication Repository” and enter a really long name around 400 chars and fill the other details.
3. Click on “Add Repository”
 

Actual Result: 

Either the repository is added to the UI and the Replication repositories UI card goes out of the screen.

Or, The UI keeps validating the connection forever.


Expected Result: There should be a proper validation on Replication repository name length.

Comment 11 errata-xmlrpc 2022-07-01 09:52:59 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 (Moderate: Migration Toolkit for Containers (MTC) 1.7.2 security and bug fix 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-2022:5483


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