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

Remove an embed object throws exception when object is removed

    XMLWordPrintable

Details

    Description

      when an object is removed (not sent to trash, really deleted), any other object that has the deleted as an embed will generate an exception:

      An exception has been thrown during the rendering of a template ("Could not find 'Content' with identifier 'array (
      'id' => '1571',
      'languages' => NULL,
      'versionNo' => NULL,
      )'") in "EzPublishCoreBundle::content_fields.html.twig".
      500 Internal Server Error - Twig_Error_Runtime
      2 linked Exceptions: NotFoundException » NotFoundException »
      

      steps to reproduce:

      • update to 5.3.3
      • set the environment to "dev"
      • edit any object, embed a test article A in the body
      • save, exit, remove (not to trash) A
      • open the object in frontend in a pure Sf siteaccess
      • exception (note, on prod there is just a generic server error 500 message)

      note, when removing to trash, issue does not show, probably because of https://jira.ez.no/browse/EZP-23592

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: