Bug 2040166

Summary: “Replication repository” wizard has no validation for name length
Product: Migration Toolkit for Containers Reporter: ssingla
Component: UIAssignee: Ian <ibolton>
Status: ASSIGNED --- QA Contact: Xin jiang <xjiang>
Severity: low Docs Contact: Richard Hoch <rhoch>
Priority: low    
Version: 1.6.3   
Target Milestone: ---   
Target Release: 1.6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2040693 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2040693    

Description ssingla 2022-01-13 07:16:19 UTC
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.