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] GroupSequence and validation groups should work together #20929

Copy link
Copy link
Closed
@shinab

Description

@shinab
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2.0

Mixing GroupSequence and validation_groups should be working as it say in PR #10287

For now, GroupSequence alone is working as expected, but when validation_groups is added, validation does not fail on first error.

Forked version here : https://github.com/shinab/symfony-standard

Test scenario
Put a dot in the field and valid

With current implementation, validation should fail directly after group3, but it passed thougt group2 and group1 too.

If you comment validation_groups in MyEntityType, validation fail after group1 as expected.

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.