Bug 820169 - The useless error message will be presented when try to change to the duplicated domain name or the name in blacklist.
Summary: The useless error message will be presented when try to change to the duplica...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-09 10:19 UTC by yquan
Modified: 2015-05-15 01:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-13 23:43:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot1 (130.71 KB, image/png)
2012-06-25 07:10 UTC, Yujie Zhang
no flags Details
screenshot2 (131.84 KB, image/png)
2012-06-25 07:10 UTC, Yujie Zhang
no flags Details

Description yquan 2012-05-09 10:19:37 UTC
Description of problem:
The useless error message "Your namespace must be letters or numbers with no spaces or symbols." will be presented when try to change to the duplicated domain name or the name in blacklist.

Version-Release number of selected component (if applicable):
devenv_1762

How reproducible:Always

Steps to Reproduce:
1.Log in the openshift website and go to the account page.
2.Go to the domain changing page.
3.Input duplicate name or the name in Blacklist.
4.click save
  
Actual results:
It will return useless error message.

Expected results:
The "Your namespace must be letters or numbers with no spaces or symbols." message should not be presented.
Additional info:

Comment 1 Clayton Coleman 2012-06-18 19:34:13 UTC
Fixed, returns distinct errors now.

Comment 2 Yujie Zhang 2012-06-19 06:39:52 UTC
(In reply to comment #1)
Not sure if the commit has finished, tested this issue on devenv_1857, it still exists.

Comment 3 Clayton Coleman 2012-06-22 16:06:44 UTC
Please provide me with the exact old and new domain names you are trying.

Comment 4 Yujie Zhang 2012-06-25 07:09:44 UTC
(In reply to comment #3)
hi Clayton , the sentence of "Your namespace must be letters or numbers with no spaces or symbols." will always be originally presented below the domain name form, it's not related to the namespace I used, when I input the invalid domain name, it will turn to be red. Details see in attachment, not sure if this is expected.

Comment 5 Yujie Zhang 2012-06-25 07:10:07 UTC
Created attachment 594117 [details]
screenshot1

Comment 6 Yujie Zhang 2012-06-25 07:10:31 UTC
Created attachment 594118 [details]
screenshot2

Comment 7 Clayton Coleman 2012-06-25 13:21:52 UTC
I see what you're referring to.  This is intentional - we don't want to remove a useful help message when the real error shows up, but we have logic that highlights the invalid input in red.  It would complicate lots of other things to not highlight this text.

Comment 8 Yujie Zhang 2012-06-26 02:11:31 UTC
(In reply to comment #7)
OK. Since this is expected, then I will verify this bug, thanks.

Comment 9 Xiaoli Tian 2012-07-02 03:20:54 UTC
Since it's closed, remove the need_info tag


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