This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-57b62b9b-c782-4a03-8b25-64081c49221f XWIKI-24866 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a23d18dc-2a09-416a-9e92-3dc610ce8eec Sebastian Klipper created this issue on 11/Sep/26 15:40
 
Summary: Included pages links point to the current wiki for cross-wiki includes
Issue Type: cid:jira-generated-image-avatar-57b62b9b-c782-4a03-8b25-64081c49221f Bug
Affects Versions: 17.10.12
Assignee: Unassigned
Components: Old Core
Created: 11/Sep/26 15:40
Environment: XWiki 17.10.12
Main wiki + one subwiki
Reproduced in both cross-wiki directions
Priority: cid:jira-generated-image-static-major-617e55f6-bc20-44f0-a0dc-6bd26440e0aa Major
Reporter: Sebastian Klipper
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.