Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3213

error 500 occurs when entering trash while being logged as Editor

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomasz.szopinski@ibexa.co Tomasz SzopiƄski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: