Doctrine Proxy generation setting incorrectly set #288

Closed
LouTerrailloune opened this Issue Mar 7, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@LouTerrailloune

I suggest setting doctrine.orm.auto_generate_proxy_classes to false in config.yml, and setting it to true in config_dev.yml.

I don't think the proxy generation is related to the debug mode, but rather to the environment. The current setting also force users to add --no-debug to command line tool in prod to have this setting properly configured.

@stof

This comment has been minimized.

Show comment Hide comment
@stof

stof Mar 7, 2012

Member

@LouTerrailloune It is more related to the debug mode IMO. When debugging, you want to autogenerate them. This is the same than the automatic regeneration of the container cache: it is controlled by the debug mode

Member

stof commented Mar 7, 2012

@LouTerrailloune It is more related to the debug mode IMO. When debugging, you want to autogenerate them. This is the same than the automatic regeneration of the container cache: it is controlled by the debug mode

@LouTerrailloune

This comment has been minimized.

Show comment Hide comment
@LouTerrailloune

LouTerrailloune Mar 7, 2012

Never mind, I didn't see that debug mode is now disabled in prod. It's enought for me.

Never mind, I didn't see that debug mode is now disabled in prod. It's enought for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment