There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-84b8c7f6-a9c6-455e-8a7e-8967c5edc93e XWIKI-24413 Open

Image reference is not updated after page rename when parent page name contains special characters

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-8c827bae-caa3-4d81-b0c9-4c512ae0a765 Changes by Eleni on 26/May/26 08:02
 
Description: Steps to reproduce:

1. Create a top-level page named: "page-name".
2. Create a child page of "page-name" named "example-page".
3. Inside "example-page", insert an image via the WYSIWYG editor named "example.png".
Example syntax:
{code:java}
[[image.png]]
{code}
3 4 . Create a child page of "example-page" named "child-example-page".
4 5 . Inside "child-example-page", reference the image from "example-page" using:
{code:java}
[[image.example-page.WebHome@example.png]]
{code}
5 6 . Rename the top-level page "page-name" to "page-renamed". Make sure the "Update links" option remains checked (default behavior).
6 7 . Open "child-example-page".

Actual result: The image is no longer displayed. The source of "child-example-page" still contains the old image reference:
{code:java}
[[image.example-page.WebHome@example.png]]
{code}
The image reference is not updated after the rename operation.

Expected result: The image reference should be automatically updated after the rename:
{code:java}
[[image.example-page.WebHome@example.png]]
{code}
The image should continue to be displayed correctly.

The issue reproduces if the page name contains special characters (tested and reproduced for {*}spaces, dashes, underscore{*})
, (but not with page names like "pageName") .