|
@@ -85,6 +85,8 @@ class DelegatingValidator implements FormValidatorInterface
|
|
$propertyPath = $violation->getPropertyPath();
|
|
$propertyPath = $violation->getPropertyPath();
|
|
$template = $violation->getMessageTemplate();
|
|
$template = $violation->getMessageTemplate();
|
|
$parameters = $violation->getMessageParameters();
|
|
$parameters = $violation->getMessageParameters();
|
|
|
|
+
|
|
|
|
+ if(empty($template)) continue;
|
|
$error = new FormError($template, $parameters);
|
|
$error = new FormError($template, $parameters);
|
|
|
|
|
|
foreach ($mapping as $mappedPath => $child) {
|
|
foreach ($mapping as $mappedPath => $child) {
|