diff --git a/src/lib/Repository/Validator/VersionValidator.php b/src/lib/Repository/Validator/VersionValidator.php index 5971c1b4cb..c9e5580209 100644 --- a/src/lib/Repository/Validator/VersionValidator.php +++ b/src/lib/Repository/Validator/VersionValidator.php @@ -73,7 +73,7 @@ public function validate( if ($fieldType->isEmptyValue($fieldValue)) { if ($fieldDefinition->isRequired) { - $allFieldErrors[$fieldDefinition->identifier][$languageCode] = new ValidationError( + $allFieldErrors[$fieldDefinition->id][$languageCode] = new ValidationError( "Value for required field definition '%identifier%' with language '%languageCode%' is empty", null, ['%identifier%' => $fieldDefinition->identifier, '%languageCode%' => $languageCode],