Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ValidatorInterface::validate($formType) stopped working with symfony/form:4.2.3 #30601

Copy link
Copy link
Closed
@Loupax

Description

@Loupax
Issue body actions

Symfony version(s) affected: 4.2.*

Description
After updating the form component to version 4.2.3, the method ValidatorInterface::validate($formType) stopped returning any violations when it contains an invalid value object.

How to reproduce
This is the common code between the two versions
https://github.com/Loupax/broken_validation/blob/master/src/Controller/DefaultController.php
Please note how we don't actually submit the form. This is done on purpose.

You can switch between the following branches for a working an broken example
https://github.com/Loupax/broken_validation/blob/working_example/composer.json#L14
https://github.com/Loupax/broken_validation/blob/broken_example/composer.json#L14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.