From 1f2c96a250691587e2640dd944c57edada3eb219 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:18:54 +0100 Subject: [PATCH] BUGFIX: backendValidation unsupported option validationErrorMessage Resolves: #3691 --- Classes/Domain/Model/Changes/Property.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/Domain/Model/Changes/Property.php b/Classes/Domain/Model/Changes/Property.php index a3a928addc..54d61f25f4 100644 --- a/Classes/Domain/Model/Changes/Property.php +++ b/Classes/Domain/Model/Changes/Property.php @@ -184,6 +184,8 @@ public function canApply() if (!\is_array($validatorConfiguration)) { $validatorConfiguration = []; } + // Fixes "Unsupported validation option(s) found: validationErrorMessage" by omitting this option https://github.com/neos/neos-ui/issues/3691 + unset($validatorConfiguration['validationErrorMessage']); if ($this->nodePropertyValidationService->validate($this->value, $validatorName, $validatorConfiguration) === false) { return false; }