You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use the branch 3.x create the page and add some blocks
switch to 4.x branch and try to access the compose page for example:http://localhost:8001/admin/app/sonatapagepage/652/compose
you should get an internal server error:
Action "compose" could not be found in access mapping. Please make sure your action is defined into your admin class accessMapping property.
Stack trace
InvalidArgumentException:
Action "compose" could not be found in access mapping. Please make sure your action is defined into your admin class accessMapping property.
at vendor/sonata-project/admin-bundle/src/Admin/AbstractAdmin.php:1692
at Sonata\AdminBundle\Admin\AbstractAdmin->checkAccess('compose')
(vendor/sonata-project/page-bundle/src/Controller/PageAdminController.php:158)
at Sonata\PageBundle\Controller\PageAdminController->composeAction(object(Request))
(vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/index.php:29)
The text was updated successfully, but these errors were encountered:
The compose page is not working
Steps:
http://localhost:8001/admin/app/sonatapagepage/652/compose
you should get an internal server error:
Stack trace
The text was updated successfully, but these errors were encountered: