Hi,

With auto_generate_proxy_classes set to true, everything works, but if
I set it to false, the Proxy classes cannot be found.

I ran doctrine:generate:proxies, which outputs
 > Proxy classes generated to "~/app_name/cache/dev/doctrine/orm/
Proxies"

> $ ls ~/app_name/cache/dev/doctrine/orm/Proxies
> ApplicationUserBundleEntityUserProxy.php

PHP Output :
> Fatal error: Class 'Proxies\ApplicationUserBundleEntityUtiliserProxy' not 
> found
> in ~/src/vendor/doctrine/lib/Doctrine/ORM/Proxy/ProxyFactory.php on line 92

What should I do ? It works if I add an entry in src/autoload.php, but
shouldn't it be autoloaded without me having to add such entries (or
register an extra autoloader to generate the path using
getProxyDir() ) ?

-- Nicolas

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to