ok it seems this is a feature. Other extensions and the DoctrineExtension 
itself do try to handle multiple calls.

I have to extend the 264 patch in this regard then.

On Thu, 30 Dec 2010 10:03:13 +0100
Benjamin Eberlei <[email protected]> wrote:

> Hello everyone,
> 
> while writing my Doctrine Bundles Mapping patch Lukas came across a nasty 
> behavior while testing this branch:
> 
> If I define a section "doctrine.orm" in both config.yml and config_dev.yml 
> then the DoctrineExtension::ormLoad() method is called twice for both 
> configuration options.
> 
> Is this the desired effect? Because then we'd have to rewrite the whole 
> extension, because multiple calls lead to overwriting the previous 
> definitions and parameters.
> 
> greetings,
> Benjamin
> 
> -- 
> 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
> 

-- 
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

Reply via email to