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

Error rendering a page block with trashed content

    XMLWordPrintable

Details

    Description

      removing an object in admin that is included in a page block causes a fatal 500 error with message "An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '70'") in eZDemoBundle:block:content_grid_2cols_2rows.html.twig at line 10."

      this error is shown only in dev environment, with prod the error is silent and an blank space shows up in the place where the removed object was taking place.

      steps to reproduce:

      • setup the environment to "dev"
      • open the frontend with a ezDEmo non-legacy siteaccess
      • in admin, remove to trash the object /ezdemo_site_admin/Getting-Started/Selected-Features/Create
      • clear caches, reload the frontend
      • error is displayed

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours
                1d 4h