Validator calls
In
ValidationListener.php
line ():
if ($form->isRoot()) {// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.foreach ($this->validator->validate($form) as $violation) {// Allow the "invalid" constraint to be put onto// non-synchronized forms$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#1416 name: "faculty_filter" type_class: "App\Form\FacultyFilterType" data: [ "faculty" => null "department" => null "line" => null "CodCurriculum" => null ] } "constraints" => null "groups" => null ]
| Path | Message | Invalid value | Violation |
|---|---|---|---|
| children[area] | La opción seleccionada no es válida. | "4" |
Symfony\Component\Validator\ConstraintViolation {#1593 -message: "La opción seleccionada no es válida." -messageTemplate: "The selected choice is invalid." -parameters: [ "{{ value }}" => "4" ] -root: Symfony\Component\Form\Form {#1416 name: "faculty_filter" type_class: "App\Form\FacultyFilterType" data: [ "faculty" => null "department" => null "line" => null "CodCurriculum" => null ] } -propertyPath: "children[area]" -invalidValue: "4" -plural: null -code: "1dafa156-89e1-4736-b832-419c2e501fca" -constraint: Symfony\Component\Form\Extension\Validator\Constraints\Form {#1465 …} -cause: Symfony\Component\Form\Exception\TransformationFailedException {#1452 …} } |