Skip to content

[Validator] UniqueEntityValidator not compatible with the non-BC 2.5 Validation API #11578

@hlecorche

Description

@hlecorche

UniqueEntityValidator is not compatible with the non-BC 2.5 Validation API because addViolationAt method is used (line 139).

This exception is thrown:
addViolationAt() is not supported anymore as of Symfony 2.5. Please use buildViolation() instead or enable the legacy mode.

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