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

[Validation] Assert Valid with validation_groups #36157

Copy link
Copy link
Closed
@aless673

Description

@aless673
Issue body actions

Symfony version(s) affected: 4.4.5

Description
Using the Valid assert with two validation_groups does not fire all relation asserts

How to reproduce
Install this repo : https://github.com/aless673/bug_valid_assert

composer install
bin/console do:da:cr
bin/console do:sc:cr

Run it on localhost

The Default group is fired with the NotNull assert.
The validate_user_name group is not fired, and the NotBlank assert is ignored

If i remove groups from the Valid assert, it is working fine (because groups are setted up on form creation) but i lose the flexibility of groups on this assert !

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.