[
https://issues.apache.org/jira/browse/RANGER-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang updated RANGER-2294:
--------------------------------
Description:
When edit user email address, and input the incorrect email address,
there are two kinds of error message:
1.Input [email protected], there is error message:
Invalid email address
[JsValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949801/JsValidateEmail.jpg]
2.Input [email protected], there is error message:
Please provide valid email address.
[JavaValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949800/JavaValidateEmail.jpg]
It is not reasonable when email address passed front-end validation,
but failed back-end validation.
So front-end and back-end email address regular expression should be the same,
and add hint message for user to fill email address.
was:
When edit user email address, and input the incorrect email address,
there are two kinds of error message:
1.Input [email protected], there is error message:
Invalid email address
screenshot
2.Input [email protected], there is error message:
Please provide valid email address.
screenshot
It is not reasonable when email address passed front-end validation,
but failed back-end validation.
So front-end and back-end email address regular expression should be the same,
and add hint message for user to fill email address.
> Front-end and back-end email address regular expression should be the same
> --------------------------------------------------------------------------
>
> Key: RANGER-2294
> URL: https://issues.apache.org/jira/browse/RANGER-2294
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: master
> Reporter: Qiang Zhang
> Assignee: Qiang Zhang
> Priority: Major
> Labels: email, validation, web
> Attachments: JavaValidateEmail.jpg, JsValidateEmail.jpg
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When edit user email address, and input the incorrect email address,
> there are two kinds of error message:
> 1.Input [email protected], there is error message:
> Invalid email address
> [JsValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949801/JsValidateEmail.jpg]
> 2.Input [email protected], there is error message:
> Please provide valid email address.
> [JavaValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949800/JavaValidateEmail.jpg]
> It is not reasonable when email address passed front-end validation,
> but failed back-end validation.
> So front-end and back-end email address regular expression should be the same,
> and add hint message for user to fill email address.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)