Details
-
Bug
-
Resolution: Fixed
-
High
-
3.3.12
Description
User with Editor policies sees error 500 when entering trash.
Steps to reproduce
1. Clean installation of eZ Platform 3.1dev master
2. Log in to the Back Office as Admin user.
3. Create a new user with Editor policies
4. Send various CT to trash (article, form, folder, usergroup, landingpage, CT from site skeleton), at least 11 elements
5. Log in into Back Office as Editor
6. View the contents of the Trash.
Actual Result:
Error 500 will occur on 3.1.0-rc2:
Twig\Error\RuntimeError: Neither the property "section" nor one of the methods "section()", "getsection()"/"issection()"/"hassection()" or "__call()" exist and have public access in class "Symfony\Component\Form\FormView". at vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/themes/admin/trash/list.html.twig:33
Error 500 will also occur on 3.0.5:
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Notice: Trying to get property 'path' of non-object").
at vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/themes/admin/trash/list.html.twig:88
Expected Result:
Trash should show all of its items.