This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-e26fce11-2fd5-48ac-b79a-fd6b5d963e72 XWIKI-23926 Open

Absolute references pointing to current page are not updated on rename

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e0acfdb2-1abf-4b64-bc78-29c800cc67ed slauriere created this issue on 20/Jan/26 18:09
 
Summary: Absolute references pointing to current page are not updated on rename
Issue Type: cid:jira-generated-image-avatar-e26fce11-2fd5-48ac-b79a-fd6b5d963e72 Bug
Assignee: Unassigned
Components: Refactoring
Created: 20/Jan/26 18:09
Priority: cid:jira-generated-image-static-major-a4d1446e-2581-406e-996f-7ac615c834f6 Major
Reporter: slauriere
Description:

Steps to reproduce

  • Create page Sandbox.P1.WebHome and insert an image with an absolute reference to it: [[image:Sandbox.P1.WebHome@image.jpg]]
  • Rename that page to Sandbox.P2.WebHome
  • Other test: insert simple link to Sandbox.P2.WebHome

Actual result

Page P2 contains the initial absolute references while references relative to the renamed page would be expected. This results in a broken image or broken link.

Prefixing the image reference with attach:and the link with doc: does not change the result.