SonataExtraAdminBundle
SonataExtraAdminBundle copied to clipboard
gedmo/doctrine-extensions required
Hi,
https://github.com/picoss/SonataExtraAdminBundle/blob/master/Entity/Repository/SortableRepository.php#L21
This line uses a class from gedmo/doctrine-extensions
but this package is not required by composer. Even if SortableRepository
is not used directly by my script (I don't use sortable anywhere, just image
type in $showMapper), Symfony's cache:clear checks the SortableRepository class and throws an error, because gedmo libraries don't exist:
PHP Fatal error: Class 'Gedmo\Sortable\Entity\Repository\SortableRepository' not found in /***/vendor/picoss/sonata-extra-admin-bundle/Entity/Repository/SortableRepository.php on line 21
@kfrankiewicz you need to install stof_doctrine_extensions and enable Sortable filter