sonata-project/SonataMediaBundle — Issue #87: ("Route "sonata_media_download" does not exist.")
Author: maxarbos
Created: 2012-01-18 18:15:44+00:00
State: open

When trying to 'View' (Medias -> Edit -> View) an image uploaded through MediaBundle, I get this error in the admin:

(http://symapp4/admin/sonata/media/media/1/view?provider=sonata.media.provider.image&context=default)

An exception has been thrown during the rendering of a template ("Route "sonata_media_download" does not exist.") in SonataMediaBundle:MediaAdmin:view.html.twig at line 70

I've followed the docs and run the php app/console sonata:easy-extends:generate SonataMediaBundle

but not getting any entries in the page__page table for media bundle.

The sandbox works for me.