Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0-dev
-
None
-
Operating System: RHEL 6.1
PHP Version: 5.3.3
Database and version: MySQL 5.1.61
Browser: Mozilla Firefox 11.0
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