Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[DoctrineBundle] Event listener priority is not being respected #6979
The doctrine event listener priority is not being respected. As you can see, the listeners are being sorted correctly, but the event doctrine.orm.listeners.resolve_target_entity is always executed before the colibri.listener.add_doctrine_inheritance_discriminator.
I'm using the version 2.2.0.
// Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterEventListenersAndSubscribersPass line 79 Array ( [colibri.listener.add_doctrine_inheritance_discriminator] => Array ( [event] => Array (  => loadClassMetadata ) [priority] => 0 ) [doctrine.orm.listeners.resolve_target_entity] => Array ( [event] => Array (  => loadClassMetadata ) ) )