From 827eca730b6367517502387d9a5fa53482a2c937 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 | 3 +-- Configuration/NodeTypes.FormPage.yaml | 1 - 3 files changed, 1 insertion(+), 4 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 3ae3aba..46b93e4 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' @@ -96,4 +95,4 @@ label: i18n reloadIfChanged: TRUE inspector: - group: 'formElement' \ No newline at end of file + group: 'formElement' 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'