Bug 1473601 - Error message is misleading when image name is one char
Summary: Error message is misleading when image name is one char
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: XiaochuanWang
URL:
Whiteboard:
: 1481635 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-21 09:27 UTC by XiaochuanWang
Modified: 2017-08-16 19:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 05:32:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
not reproduced (50.79 KB, image/png)
2017-07-31 02:29 UTC, XiaochuanWang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description XiaochuanWang 2017-07-21 09:27:46 UTC
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"

Comment 4 XiaochuanWang 2017-07-31 02:29:39 UTC
Created attachment 1306764 [details]
not reproduced

Comment 5 XiaochuanWang 2017-07-31 02:31:08 UTC
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.

Comment 7 errata-xmlrpc 2017-08-10 05:32:16 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, 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

Comment 8 Samuel Padgett 2017-08-15 12:18:50 UTC
*** Bug 1481635 has been marked as a duplicate of this bug. ***


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