This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-4dbaf97c-58ab-4866-bebc-2896d6c0cb9d XWIKI-23106 Open

Copying a page with a relative link from one wiki to another breaks the link

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a3ab1048-47c9-43a0-9d14-fb7b45010498 Vincent Massol created this issue on 14/Apr/25 15:31
 
Summary: Copying a page with a relative link from one wiki to another breaks the link
Issue Type: cid:jira-generated-image-avatar-4dbaf97c-58ab-4866-bebc-2896d6c0cb9d Bug
Affects Versions: 15.10.16
Assignee: Unassigned
Components: Refactoring
Created: 14/Apr/25 15:31
Priority: cid:jira-generated-image-static-major-62d3700d-337e-44e0-ba9d-5ccc1f0292b3 Major
Reporter: Vincent Massol
Description:

To reproduce:

  • Create a page Main.Test.WebHome on the main wiki
  • Create a page Main.Test2.WebHome on the main wiki, with a link to Main.Test.WebHome
  • Create a subwiki (e.g. "test")
  • Copy the Main.Test2.WebHome page to the "test" wiki

Expected:

The link should work and lead to the main wiki.

Actual:

The link is broken as it's relative and the Main.Test.WebHome page doesn't exist on the "test" wiki.