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

Warning "Variable 'icon' is already defined." when viewing files in eZ Flow

    XMLWordPrintable

Details

    Description

      The files I've tested were images and audio files.
      On accessing a file page (or the folder that contains the file) on eZ Flow will throw a warning:

      Warning: eZTemplate:def @ extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezbinaryfile.tpl:1[0] 	Mar 26 2013 15:27:27
      
      Variable 'icon_size' is already defined.
      
      Warning: eZTemplate:def @ extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezbinaryfile.tpl:1[0] 	Mar 26 2013 15:27:27
      
      Variable 'icon_title' is already defined.
      
      Warning: eZTemplate:def @ extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezbinaryfile.tpl:1[0] 	Mar 26 2013 15:27:27
      
      Variable 'icon' is already defined.
      

      .

      Steps to reproduce:
      1 - Login into eZ Flow as "admin"
      2 - Create a "News" folder
      3 - On select choose "File"
        - fill with any info
        - choose any file (image and wave files were tested)
      4 - click in "Send for publishing"
      5 - Verify on "ezpublis_legacy/var/log/warning.log" (terminal) the warnings above
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 45 minutes
                2h 45m