doctrine/DoctrineMongoDBBundle — pull request #85 by stof (2012-03-13 09:32:22+00:00)
Title: Added an autoloader for proxies

This registers an autoloader for proxies to avoid issues if a proxy gets serialized and then tries to be unserialized. This code is taken from DoctrineBundle.

I haven't implemented it in the 2.0 branch as it is difficult to implement it without the registry and I don't want to try to find a solution for this.

Btw, using the same proxy namespace in DoctrineBundle and DoctrineMongoDBBundle causes issues with the autoloaders trying to generate a proxy as there is no way to differentiate them and this would force removing the exception giving a better error message for outdated serialized classes. The issue is that both bundle use the same default value (``Proxies``) so it will harm people using both the ORM and the ODM in their app. Would it make sense to change the default ?