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

Nested embedding override issue

    XMLWordPrintable

Details

    Description

      There are several override issues when embed objects are nested.

      Patch to fix:

      Index: kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php
      ===================================================================
      --- kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php	(revision 22862)
      +++ kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php	(working copy)
      @@ -500,6 +500,7 @@
                   }
       
                   $existingKeys = $this->Res->keys();
      +            $this->Res->Keys = array();
                   $savedKeys = array();
       
                   // Save old keys values and set new design keys
      
      
      Steps to reproduce

      Example using webin:

      1. In folder A embed folder B and give it a class 'highlightobject'.
      2. In folder B embed image C in the summary/short description and do not give it any class.
      3. view folder A in front end where there are overrides for 'highlightobject', both folder B and image C inside it is shown using highlightobject template.

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: