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

list of used templates contains broken links

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 3.8.6
    • Misc
    • None
    • Operating System: Trustix Secure Linux 2.2
      PHP Version: (please be specific, like '4.4.3' or '5.1.5'): 4.4.1
      Database and version: MySQL
      Browser (and version): Firefox 1.5.0.8

    Description

      The list of used templates, generated by eztemplatesstatisticsreporter.php, contains incorrect URLs in some cases. It is supposed to give links to edit and override each of the listed templates. However, those links are invalid when viewing nodes of depth 2 or more from the main node.

      For example, if the URL for the node's url is: /index.php/level1/level2
      then the edit URL is given as: /index.php/level1/visual/templateedit/...
      instead of: /index.php/visual/templateedit/...

      I am using v3.8.4, but the relevant section of code is the same in v3.8.6.

      Steps to reproduce

      Turn on debugging and "list of used templates".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: