Skip to content

Commit 29f0787

Browse files
Merge pull request #3692 from neos/bugfix/3691-backendValidation-unsupported-option-validationErrorMessage
BUGFIX: backendValidation unsupported option validationErrorMessage
2 parents 27f848b + 1f2c96a commit 29f0787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Classes/Domain/Model/Changes/Property.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ public function canApply()
184184
if (!\is_array($validatorConfiguration)) {
185185
$validatorConfiguration = [];
186186
}
187+
// Fixes "Unsupported validation option(s) found: validationErrorMessage" by omitting this option https://github.com/neos/neos-ui/issues/3691
188+
unset($validatorConfiguration['validationErrorMessage']);
187189
if ($this->nodePropertyValidationService->validate($this->value, $validatorName, $validatorConfiguration) === false) {
188190
return false;
189191
}

0 commit comments

Comments
 (0)