ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiang Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-2294) Front-end and back-end email address regular expression should be the same
Date Wed, 28 Nov 2018 08:02:00 GMT

     [ 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 .@ab.ab, there is error message:
Invalid email address
[JsValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949801/JsValidateEmail.jpg]

2.Input a@ab.ab, 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 .@ab.ab, there is error message:
Invalid email address
screenshot

2.Input a@ab.ab, 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 .@ab.ab, there is error message:
> Invalid email address
> [JsValidateEmail.jpg|https://issues.apache.org/jira/secure/attachment/12949801/JsValidateEmail.jpg]
> 2.Input a@ab.ab, 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)

Mime
View raw message