Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8861

The link for the "Statistics" homepage isn't properly displayed inside panels if the statistics feature isn't enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.1
    • 4.4.1
    • Statistics
    • Windows 7
      XE 4.4.1/4.5.1-snapshot
      Firefox 19
    • Unknown
    • N/A
    • N/A

    Description

      This bug happens because the code inside "http://localhost:8080/xwiki/bin/view/Stats/Macros" is using XWiki 1.0 syntax. If you change the line

      #set($statsHome = "[$msg.get('xe.statistics.homepage')>Stats.WebHome].")

      to

      #set($statsHome = "[[$msg.get('xe.statistics.homepage')>>Stats.WebHome]].")

      then the link is displayed correctly. I've added some screenshots.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              msmeria Manuel Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: