Skip to content

Missing priority for events in doctrine bridge #21977

@chapterjason

Description

@chapterjason
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.2.4

I just have two listeners and they have to be in the correct order. My first approach was to set the priority in the tags for the listeners, I noticed that nothing changed the order. After I checked the code in Symfony/Bridge/Doctrine/ContainerAwareEventManager.php#L101 and compared it to Symfony/Component/Form/FormConfigBuilderInterface.php#L33 I just realized that the priority is missing.

Yeah I know that Component/Form and the Bridge/Doctrine are two different parts.

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