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

Some skin resources are requested with absolute paths instead of relative ones

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      An example where this happens:

      The undelete button image is not displayed for DeletedDocument.
      The button's image is not found because the SSX adds an extra leading slash in the image's location

      $xwiki.getSkinFile('/icons/silk/arrow_refresh.png')

      Result:

      There are about 4 places where this happens and the solution is to remove the leading slash from the requested resource's location.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: