U4-10496 - Umbraco 7.7.2 - Email Property Editor Returns [valiation_invalidEmail] when address fails validation

Created by Keith 04 Oct 2017, 13:42:55 Updated by Sebastiaan Janssen 16 Oct 2017, 10:47:36

Tags: Up For Grabs Unscheduled

What did you do?

  1. Install fresh 7.7.2 with the Umbraco Sample Site.
  2. Edit the Document Type "Person", changing the email property from a text string editor to an email property editor.
  3. Go Content > People > Choose a person from the list
  4. Enter an invalid email address

What did you expect to happen? A user friendly error message

What actually happened? [valiation_invalidEmail]

** See attached image

1 Attachments

Comments

Sebastiaan Janssen 04 Oct 2017, 14:20:39

Looks like a typo in the view! Should be fixed when it's updated to "validation_invalidEmail". https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/email/email.html#L11

Care to help out @keith_r ? Should be a nice an easy one to fix, test and make a pull request for! :-)


Keith 04 Oct 2017, 15:02:52

Great - that's fixed it thanks. Yes happy to help out, will make the change and submit a pull request.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.7.2

Due in version: 7.7.3

Sprint:

Story Points: 0.5

Cycle: 4