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

Content attached in Page Builder block list leaves entries in ezpage_attributes table after removing it

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request
    • 2.3.2, 2.4.0
    • Page Builder
    • None

    Description

      After creating a new block with a locationlist attribute in page builder (eg. Landing Page), reference to another content in that block is not removed from the ezpage_attributes table, when the content itself is removed.

      Steps to reproduce:
      1. Define a block for the page builder with a locationlist attribute
      2. Create a new Landing Page named "Page1"
      3. Create second Landing Page named "Main Page"
      4. On "Main page" add a new block with a locationlist attribute
      5. Click "Select content" and select "Page1"
      6. Publish "Main Page" (after that in DB "ezpage_attributes" table new entry with "Page1" LocationId appear)
      7. Delete "Page1" (Send to trash)

      Result:
      Reference entry stays in the DB "ezpage_attributes" table and when trying to edit block with locationlist attribute, 404 error appears.

      Expected:
      Reference entry should be removed from "ezpage_attributes" table.
      (after manual delete of this entry, the block locationlist attribute can be edited)

      Attachments

        Activity

          People

            Unassigned Unassigned
            krzysztof.korman-obsolete@ez.no Krzysztof Korman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: