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

Included pages links point to the current wiki for cross-wiki includes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.12
    • Old Core
    • None
    • XWiki 17.10.12
      Main wiki + one subwiki
      Reproduced in both cross-wiki directions
    • Unknown

    Description

      Description

      Cross-wiki includes are rendered correctly, but the links shown under Information > Included pages point to the current wiki instead of the wiki containing the included page.

      The issue occurs in both directions:

      • main wiki -> subwiki
      • subwiki -> main wiki

      Steps to reproduce

      1. Create a page in a subwiki, for example:
        code
        Sandbox.CrossWikiPOC.SubTarget.WebHome
        /code
      1. Create a page in the main wiki containing:
        code language="xwiki"
        include reference="testwiki:Sandbox.CrossWikiPOC.SubTarget.WebHome"/
        /code
      1. Open Information > Included pages on the main-wiki page.
      2. Click the listed included page.

      Repeat the same test in the opposite direction by including a main-wiki page from the subwiki.

      Expected result

      The link under Included pages points to the wiki where the included page is located.

      Actual result

      The link points to the same local page reference in the current wiki.

      The included content itself is rendered correctly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            CycleSEC Sebastian Klipper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: