On 9/27/10 10:22 AM, Tim Nagel wrote:
Hello, At the moment it looks like DoctrineExtension::loadOrmEntityManager() doesnt pass a reference in for an EventManager, not allowing me to attach additional listeners to it prior to being initialised in the EM. I was going to send in a patch adding this functionality, however it doesnt feel correct - each bundle will potentially want to do its own thing to the EventManager, attaching additional listeners prior to the EM being returned, and my understanding of how the DI config works for specifying a class name would mean only a single bundle can do this. Which puts me in a position where I'm not sure how to proceed. How do I modify this code (if nothing is currently planned) so that 3rd party bundles can manipulate the EventManager (adding new listeners, ie: magic to remove discriminator maps, or provide vendor/bundle prefixes for table names - these listeners need to be added prior to creating the EntityManager.)
Can you create a ticket for the issue? Fabien -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
