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

Warning: eZTemplate:def in "User accounts"

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • QA tracked issues
    • 2012.5
    • None
    • Operating System: RHEL 6.2 EE
      PHP Version: Php 5.3.3
      Database and version: MySQL 5.1.61
      Browser (and version): Firefox 13

    Description

      When accessing the "User accounts" section in the debug output I get the following warning

      Warning: eZTemplate:def @ design/admin2/templates/children_detailed.tpl:1[0]
      Variable 'section' is already defined.

      This issue can simply be fixed by removing

      $section         = fetch( 'section', 'object', hash( 'section_id', $node.object.section_id ) 
      

      from the

      design/admin2/templates/children_detailed.tpl

      first line or by making the following change

      {set $section         = fetch( 'section', 'object', hash( 'section_id', $node.object.section_id ) )
        def  $visible_columns  = ezini('SubItems', 'VisibleColumns', 'admininterface.ini')
          $locales          = fetch( 'content', 'translation_list' ) }
      
      Steps to reproduce
      1. Login into admin2 interface
      2. Click on "User account"
      

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            pedro.resende pedro.resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: