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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.1
    • Fix Version/s: 4.5.1
    • Component/s: Statistics
    • Environment:
      Windows 7
      XE 4.4.1/4.5.1-snapshot
      Firefox 19
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: