Bug 1404147

Summary: It's better to prompt error message when create secret with invalid email
Product: OKD Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas, yanpzhan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-30 12:47:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yadan Pei 2016-12-13 08:16:49 UTC
Description of problem:
When create secret with invalid email address, the Create button is disabled but without any error message, it's better to print error message in this situation

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.0+2701506-347
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

How reproducible:
Always

Steps to Reproduce:
1.Go to Secrets page (Resources -> Secrets), click "Create Secret"
2.Set following fields:
Secret Type: Image Secrets
Secret Name: mysecret
Authentication Type: Image Registry Credentials
Image Registry Server Address:rivate1.registry.com
Username: anyuser1
Password:1234
Email: test@

Actual results:
2. After setting fields with value above, Create button is disabled, user could not create secret but didn't give useful error message

Expected results:
2.Better to give useful error message telling email address is wrong

Additional info:

Comment 1 openshift-github-bot 2016-12-14 17:02:25 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/d5aaf8c39da9c7b1d73872348a576443c6be09a3
Bug 1404147 - Prompt error message when create secret with invalid email

Comment 2 Yanping Zhang 2016-12-16 03:33:58 UTC
Checked on openshift v1.5.0-alpha.0+da967d5-411. now there is error info "Email must be in the form of user@domain." when email address is invalid.
The bug has been fixed, so move it to Verified.