Bug 1371361 - Need a warning when selected default IS name exceeded the max-length on add-to-project page
Summary: Need a warning when selected default IS name exceeded the max-length on add-t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 03:27 UTC by XiaochuanWang
Modified: 2017-03-08 18:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-14 15:47:38 UTC
Target Upstream Version:


Attachments (Terms of Use)
origin_bug_screenshot (54.87 KB, image/png)
2016-08-30 03:27 UTC, XiaochuanWang
no flags Details

Description XiaochuanWang 2016-08-30 03:27:46 UTC
Created attachment 1195596 [details]
origin_bug_screenshot

Description of problem:
Go to add-to-project page, choose "Deploy Image". For Image Stream Tag, select an IS name exceed maxlength(24) and a tag from project "openshift". The input box "Name" is invalid and "Create" button is disabled, user needs to know what's wrong with the default value.

Version-Release number of selected component (if applicable):
openshift v3.3.0.27

How reproducible:
Always

Steps to Reproduce:
1. Go to add-to-project page, choose "Deploy Image"
2. select an IS name which exceed the maxlength(24) , choose any tag
Eg. jboss-datagrid65-openshift, jboss-webserver30-tomcat7-openshift, 


Actual results:
1) When input box "*Name" is filled by default value "jboss-datagrid65-openshift", "Create" button is disabled due to length restriction. Should prompt warning info once the name length exceedes 24
(The warning message shows up only when you begin to remove some characters of the name, it's a little late for user, should prompt warning info once the name length is exceed 24, which should be like the warning when string begins with a number)
Please refer to the screenshot
2) All default IS names from project "openshift" should be valid


Expected results:
1) There should be a warning message when value is invalid for create.
2) The max-length should allow all default IS names to be valid

Additional info:

Comment 2 Samuel Padgett 2016-10-05 13:34:15 UTC
This was fixed in 3.3.0, but status was not updated.

Comment 3 Yadan Pei 2016-10-08 03:00:21 UTC
Verification steps:

1. Go to add-to-project page, choose "Deploy Image"
2. select an IS name which exceed the maxlength(24) , choose any tag
Eg. jboss-datagrid65-openshift, jboss-webserver30-tomcat7-openshift, 

When selected default IS name exceeded the max-length(24), "Name" will be trimmed to 24 characters and Create button is enabled also

Move to VERIFIED


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