From 5fec1d86070af323c8a9dfbbc67d1f35f34ac1db Mon Sep 17 00:00:00 2001 From: bwaidelich Date: Thu, 18 Oct 2018 14:29:58 +0200 Subject: [PATCH] BUGFIX: Remove minimum option from StringLengthValidators This removes the redundant `minimum` option from the `StringLengthValidador` configuration for the optional `Form`, `Page` and `FormElement` identifiers in order to prevent validation errors for omitted values. --- Configuration/NodeTypes.Form.yaml | 1 - Configuration/NodeTypes.FormElement.Mixins.yaml | 1 - Configuration/NodeTypes.FormPage.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/Configuration/NodeTypes.Form.yaml b/Configuration/NodeTypes.Form.yaml index efd6e05..b5f9bc8 100644 --- a/Configuration/NodeTypes.Form.yaml +++ b/Configuration/NodeTypes.Form.yaml @@ -60,7 +60,6 @@ group: 'form' validation: 'Neos.Neos/Validation/StringLengthValidator': - minimum: 1 maximum: 255 'Neos.Neos/Validation/RegularExpressionValidator': regularExpression: '/^[a-z0-9\-]+$/i' diff --git a/Configuration/NodeTypes.FormElement.Mixins.yaml b/Configuration/NodeTypes.FormElement.Mixins.yaml index 4a68e3e..92de98f 100644 --- a/Configuration/NodeTypes.FormElement.Mixins.yaml +++ b/Configuration/NodeTypes.FormElement.Mixins.yaml @@ -9,7 +9,6 @@ group: 'formElement' validation: 'Neos.Neos/Validation/StringLengthValidator': - minimum: 1 maximum: 255 'Neos.Neos/Validation/RegularExpressionValidator': regularExpression: '/^[a-z0-9\-]+$/i' diff --git a/Configuration/NodeTypes.FormPage.yaml b/Configuration/NodeTypes.FormPage.yaml index f40e5c1..cb1b31a 100644 --- a/Configuration/NodeTypes.FormPage.yaml +++ b/Configuration/NodeTypes.FormPage.yaml @@ -31,7 +31,6 @@ group: 'formPage' validation: 'Neos.Neos/Validation/StringLengthValidator': - minimum: 1 maximum: 255 'Neos.Neos/Validation/RegularExpressionValidator': regularExpression: '/^[a-z0-9\-]+$/i'