symfony/symfony — Issue #2367: Proxy Class not created when switching to prod
Author: adurieux
Created: 2011-10-09 16:55:18+00:00
State: open

Hi,

I am using FOSUserBundle. I have a strange issue when switching from dev to prod :
- in dev environnement, everything works fine
- in the prod environnement, when I submit the login form, no response is returned.

There is no extra info available in the prod.log.
But the php_error.log suggests that there is an issue with the Proxy of my User class.
I compared the cache of the two environnements, and it appears that the proxy of my User class (in doctrine/orm/Proxies) is created in dev, but not in prod.
If I copy/paste the proxy file of the dev folder to the prod folder, everything works fine again.

I tried to :
- delete, refresh, warmup the cache, etc...
- update the vendors to their very last version
- in the AppKernel, the FOSUserBundle is properly loaded in all environments

Any ideas of what is happening exactly ?

Thanks in advance,
Cheers,
Antoine