Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.0.x-dev
-
None
-
None
Description
Setup:
APP_ENV=dev APP_DEBUG=1
Steps to reproduce:
- Login as admin
- Go to Admin -> Roles -> Anonymous
- Delete the content/read policy from admin
- Go to "Page"
Result:
Too few arguments to function eZ\Publish\Core\MVC\Symfony\SiteAccess::__construct(), 0 passed in /Users/mareknocon/Desktop/Sites/v3/vendor/ezsystems/ezplatform-admin-ui/src/lib/EventListener/AdminExceptionListener.php on line 137 and at least 1 expected
Might be caused by https://github.com/ezsystems/ezpublish-kernel/pull/2838, which changed the SiteAccess constructor without adjusting https://github.com/ezsystems/ezplatform-admin-ui/blob/master/src/lib/EventListener/AdminExceptionListener.php#L137