Description of problem: Length error of image name causes a misleading error message when user choose imagestream to create app. Version-Release number of selected component (if applicable): OpenShift Master: v3.6.153 Kubernetes Master: v1.6.1+5115d708d7 How reproducible: Always Steps to Reproduce: 1. Create a project and go to https://xxx.com:8443/console/project/myproject/create?tab=deployImage 2. Select from drop down list: Image Stream Tag -> openshift Image Strean -> <a random one> Tag -> latest 3. In put one char in "*Name" and click Save Actual results: It shows "Please use at least 2 characters ..." message But it also shows red message "This name is already in use within the project. Please choose a different name." Expected results: The red message should not show "This name is already in use within the project". It should also say "at least 2 characters"
master branch: https://github.com/openshift/origin-web-console/pull/1865 enterprise-3.6 branch: https://github.com/openshift/origin-web-console/pull/1866
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/73890f5b10efc75e594ae91a34d86bae07d1b256 Bug 1473601 - Fix form validation for deploy image Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1473601
Created attachment 1306764 [details] not reproduced
This is not reproduced on OCP: OpenShift Master: v3.6.172.0.1 Kubernetes Master: v1.6.1+5115d708d7 The Create button is disabled when there is only one character, error message with red box is correct.
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, 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/RHEA-2017:1716
*** Bug 1481635 has been marked as a duplicate of this bug. ***