U4-5526 - Umbraco 7.1 - Validation of Property Type set property as Mandatory

Created by Flavio Spezi 22 Sep 2014, 08:10:32 Updated by Sebastiaan Janssen 22 Sep 2014, 08:37:27

Duplicates: U4-4669

If I set a Validation pattern in a PropertyType, the property become Mandatory.

To reproduce it, try to add a PropertyType with these config:

  • alias: "price"
  • type: "Textstring"
  • validation: "^[0-9]+([.][0-9]+)?$"

Then, create new Document of edited DocumentType. Leave the "price" property as is (blank). Click to "Save and Publish". The UI show this message: "Value is invalid, it does not match the correct pattern".

I can patch this changing the "validation" pattern to: "^([0-9]+([.][0-9]+)?)?$"


Priority: Normal

Type: Bug

State: Duplicate


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.6

Due in version:


Story Points: