Bug 1404147 - It's better to prompt error message when create secret with invalid email
Summary: It's better to prompt error message when create secret with invalid email
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 08:16 UTC by Yadan Pei
Modified: 2017-05-30 12:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 12:47:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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