With this bundle, the Sonata command line "sonata:admin:explain" cause a fatal error (Security context is not available through command line) :
PHP Fatal error: Call to a member function getUser() on a non-object in /Users/fabien/Workspaces/Sites/sandbox.dev/vendor/tilleuls/acl-sonata-admin-extension-bundle/CoopTilleuls/Bundle/AclSonataAdminExtensionBundle/Admin/AclAdminExtension.php on line 50
May be a simple patch like this can solve the issue :
Hi,
With this bundle, the Sonata command line "sonata:admin:explain" cause a fatal error (Security context is not available through command line) :
May be a simple patch like this can solve the issue :
https://gist.github.com/FabienD/8221873
Regards, Fabien