U4-9989 - 7.5.14: No failure message when trying to save and/or publish Content pages with custom validation

Created by Jason McCullough 05 Jun 2017, 14:46:28 Updated by Jason McCullough 05 Jun 2017, 14:48:44

If a mandatory property is left blank the editor will see clear error messaging however a property with custom validation such as "Validate as email" does not throw an error message when trying to save invalid content from the content editor. If you try to save a page with an email field with an invalid string such as, "email.email.com," (no @ symbol), the page spinner will spin endlessly and a js error with the following message appears in the console:

angular.min.js?cdv=17060517:63 TypeError: Cannot read property '0' of undefined at umbraco.services.js?cdv=17060517:8454 at umbraco.services.js?cdv=17060517:8544 at angular.min.js?cdv=17060517:100 at i (angular.min.js?cdv=17060517:79) at i (angular.min.js?cdv=17060517:79) at i (angular.min.js?cdv=17060517:79) at i (angular.min.js?cdv=17060517:79) at angular.min.js?cdv=17060517:80 at Object.$eval (angular.min.js?cdv=17060517:92) at Object.$digest (angular.min.js?cdv=17060517:90)

If you reload the page in the backoffice, the invalid property will have been left in a saved but not published state.

2 Attachments

Comments

Priority: Normal

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category: Editor

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: