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

Template variable name collisions in eZFlow blocks

    XMLWordPrintable

Details

    Description

      Under certain conditions, there are name collisions in variable names used throughout eZFlow block templates.

      i.e, a "Main story (Manual)" block placed after a "2 Items (Manual)" block yields the following warning in the eZDebug output:

      Warning: eZTemplate:def @ extension/ezflow/design/ezflow/override/templates/block/main_story1.tpl:1[0] 
      
      Variable 'valid_node' is already defined.

      The following also occurs with the "Flash Recorder" block:

      Warning: eZTemplate:def @ extension/ezflow/design/ezflow/override/templates/block/flash_recorder.tpl:5[0]
      
      Variable 'valid_node' is already defined.

      So far I was only able to reproduce this problem with the "Flash Recorder" block by placing it immediately after the "Main Story (Manual)" block.

      Steps to reproduce

      1. Access the eZFlow frontpage
      2. Edit the frontpage and add three blocks:

      • 2 Items (Manual)
      • Main Story (Manual)
      • Flash Recorder

      3. Send for publishing, and verify that you receive warnings in the eZDebug output

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            filiped filiped
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: