sonata-project/SonataMediaBundle — Issue #88: wrong service parameter in sonata.media.admin.media.manager
Author: ejosvp
Created: 2012-01-24 22:03:58+00:00
State: open

The class (Sonata\MediaBundle\Admin\Manager\DoctrineORMManager) expects a RegistryInterface but the service configuration in doctrine_orm_manager.xml sends it a doctrine.orm.default_entity_manager.

I've changed the xml file to point to "doctrine" and apparently it works, but I don't know if the change should be there or in the class constructor.