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

Sending content to trash that is selected for Content List block results in 500 on that Landing Page

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2.3.x-dev, 2.2.3
    • Page Builder

    Description

      When you send to trash content, that was previously selected in Content List Block in Landing Page, user won't be able to view/edit said Landing Page anymore, with exception:

      Twig_Error_Runtime:
      An exception has been thrown during the rendering of a template ("Unsupported value (NULL)").
      

      That comes from:

      InvalidArgumentException:
      Unsupported value (NULL)
      

      Steps to reproduce:
      1. Create Article: "Test Article". Publish it.
      2. Create Landing Page: "Test Landing Page".
      3. Add Content List Block to it, select previously created "Test Article". Publish Landing Page.
      4. Send "Test Article" to tash.
      5. View "Test Landing Page".

      Result:
      An exception has been thrown during the rendering of a template ("Unsupported value (NULL)").

      Exception:
      The page will load normally with some kind information for Content List Block that content is in the trash.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: