Hide Forgot
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:
https://github.com/openshift/origin-web-console/pull/504
This was fixed in 3.3.0, but status was not updated.
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