Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] validator.auto_mapping always applies something #44693

Closed
@ro0NL

Description

@ro0NL

Symfony version(s) affected

4.4.31

Description

I have framework.validation.auto_mapping set to an empty array (default), yet AddAutoMappingConfigurationPass always reaches.

doctrine.orm.default_entity_manager.validator_loader is the first ID found, which seems to explain why a random UniqueEnitty validation is triggering on our side. Which is the bug im bumping into :)

How to reproduce

unqiqe contraint on the entity without auto_mapping, then validate it (using sf/form in our case).

Possible Solution

No response

Additional Context

No response

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