Details
-
Bug
-
Resolution: Fixed
-
Major
-
17.10.7
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- Create a top-level page red.
- Create a child page green under red and upload an image example.png to it.
- Create a child page blue under green with the following content:
[[image:red.green.WebHome@example.png]] [[green>>doc:red.green.WebHome]] [[green space>>space:red.green]]
- Rename red to pink, keeping "Update links" checked (default).
- View pink.green.blue.
Actual result: the image is no longer displayed. Only the document link has been updated; the image reference and the space link still target the old location:
[[image:red.green.WebHome@example.png]] [[green>>doc:pink.green.WebHome]] [[green space>>space:red.green]]
Expected result: all three references are updated:
[[image:pink.green.WebHome@example.png]] [[green>>doc:pink.green.WebHome]] [[green space>>space:pink.green]]
Notes:
- The problem happens when the page holding the reference is itself moved by the same rename (e.g. a child of the renamed page) and the reference is absolute. When the page holding the reference is not part of the move, the reference is updated correctly.
- Page names don't matter: it reproduces with plain names as well as with names containing spaces, dashes or underscores.
- It doesn't matter whether the image reference is typed (attach:red.green.WebHome@example.png) or not.
Attachments
Issue Links
- is related to
-
XWIKI-18634 Image references are broken when contained in a renamed terminal page
-
- In Progress
-
- relates to
-
XWIKI-16446 Broken local images or attachments after Rename
-
- Closed
-