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

Include macro does not resolve its reference properly cross wiki (when page is displayed with display macro)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.1
    • 4.1.4
    • Display
    • XEM
    • Unit
    • Medium
    • N/A
    • N/A

    Description

      To reproduce:

      • use the xar attached to XWIKI-8823
      • move the document called Sandbox.MakeTestDoc2Fail on a different wiki
      • the content of the document Sandbox.TestDoc1 will not be displayed

      This seems to be because of the

      {{include reference="" /}}

      macro that we use in the sheet to display the document content. If the include macro call is replaced with something like:

      {{include reference="$doc.prefixedFullName" /}}
      

      then it works fine, showing that it's an issue of reference resolving.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: