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

update 3.2->3.3 bc break: decoration of validator.validator_factory service is not working #24222

Copy link
Copy link
Closed
@Strate

Description

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

I do have a decorator service over validator.validator_factory, as described in documentation. It is not working for now, because:

  1. \Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass is removing original service, renaming it to my_service_name.inner and set alias from my_service_name to validator.validator_factory.

  2. After that \Symfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPass is invoked, and tries to locate original service validator.validator_factory which can not be found anymore.

As a result, validator factory built with wrong dependencies.

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.