loicfrering / losolib

Collection of components for Zend Framework applications and integration of Symfony Components.
http://losohome.wordpress.com/
MIT License
48 stars 6 forks source link

Bug Cache in ApplicationServiceContainer.php #2

Closed anardil closed 13 years ago

anardil commented 13 years ago

When I put in application.ini bootstrap.container.symfony.cache = true I got an error:

Fatal error: Class 'Scaffold_Dao_Doctrine_PostDao' not found in /Applications/MAMP/htdocs/zend-default/application/data/cache/symfony/ApplicationServiceContainer.php on line 133

But when the cache is off, i don't have errors.

I've got this error in the page /scaffold/post/list In my services.yml : services: dao: class: Scaffold_Dao_Doctrine_PostDao

Any idea?

Thx

loicfrering commented 13 years ago

Ok I reproduced your issue, it must be a regression, let me see...

loicfrering commented 13 years ago

Finally it was not a bug, I just forgot to declare the DAO resource for autoloading into the scaffold module of the sandbox application. See eed14cfd3b53fa890e8e3c973b8c8445ec2adf16.

Thanks for reporting.

anardil commented 13 years ago

Ok thanks.