Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28755

Error 500 if any content version was created by a user that doesn't exist anymore

    XMLWordPrintable

Details

    Description

      After upgrading from eZ Publish 5.4.x to ezplatform 2.0.0.2 you get an error in the administration when you click on a location that has a version where the creator was deleted.

      Twig_Error_Runtime:
      An exception has been thrown during the rendering of a template ("Could not find 'Content' with identifier 'array (
      'id' => 0,
      'languages' =>
      array (
      ),
      'versionNo' => NULL,
      )'").

      at vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/content/locationview.html.twig:49

      This also happens when you create a new user on a clean ezplatform 2.0.0.2 installation, edit the frontpage with this user and delete the user afterwards. It doesn't matter if the user published the currently active version or any previous one. The error message stays pretty much the same...the only difference is that you can see the 'id' and 'versionNo' of the deleted user.

      Attachments

        Activity

          People

            Unassigned Unassigned
            8f4da6a3-bcca-42fb-86e6-b585f69052f3@accounts.ibexa.co Patrick Dürregger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: