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

Global layout fetch trashed first

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.0
    • 4.4.0beta1, 4.4.0beta3
    • None
    • Not relevant.

    Description

      If there is a global layout on trash, and another on the content tree, you may end up using the trashed one instead of the one that is on the content tree.

      Steps to reproduce

      Create a Global Layout, check it's id/node.

      Delete it and place it on the trash.

      Create another Global Layout and check it's id/node.

      Activate the global layout insertion into the templates by loading the extra_info.tpl on the template structure of the pages.

      If you are lucky, you get the correct global layout. If you aren't you get the one that is on the trash.

      Things that are on the trash shouldn't be rendered at all, and a debug warning should be added to debug pane when that happens.

      Attachments

        Activity

          People

            andre1 andre1
            luis.ferro luis.ferro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: