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

set and global scope not working inside template override

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2011.11, 2011.12, 2012.1
    • None

    Description

      If you use

      {set scope=global...}

      inside the template override for embed object (let's say override/templates/embed/image.tpl), it won't work, the variable value won't be set in global namespace.
      But if you use it with

      {set-block scope=global...}

      then it works.

      This is a pretty serious error, since

      {set-block}

      cannot be used to set array values.

      Attachments

        Activity

          People

            unknown unknown
            zmak zmak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: