There is 1 update, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5a86aed0-546c-4245-af1b-e37e6ab02754 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-0008cdc7-77f8-4301-87f5-8b17bd3b3ffb Changes by Eleni on 28/May/26 14:06
 
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:example.png]]
{code}
4. Create a child page of "example-page" named "child-example-page".
5. Inside "child-example-page", reference the image from "example-page" using:
{code:java}
[[image:
page-name. example-page.WebHome@example.png]]
{code}
6. Rename the top-level page "page-name" to "page-renamed". Make sure the "Update links" option remains checked (default behavior).
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").
 
 

2 comments

 
cid:jira-generated-image-avatar-0008cdc7-77f8-4301-87f5-8b17bd3b3ffb Eleni on 28/May/26 14:10
 

Hi! Marius Dumitru Florea sorry, I mistyped the syntax for the images,

[[image.example-page.WebHome@example.png]]

was actually meant to be

[[image:example-page.WebHome@example.png]]

. Seems like I missed also the correct page reference in step 5 (forgot about the parent page). I updated the steps. Thx for the notice.

At step 3,

3. Inside "example-page", insert an image via the WYSIWYG editor named "example.png".

, the image should be uploaded inside the page with the WYSIWYG editor.
Thanks!

 
cid:jira-generated-image-avatar-0008cdc7-77f8-4301-87f5-8b17bd3b3ffb Eleni on 28/May/26 14:13
 
Hi! [~mflorea] sorry, I mistyped the syntax for the images, {code}[[image.example-page.WebHome@example.png]]{code} was actually meant to be {code}[[image:example-page.WebHome@example.png]]{code}. Seems like I missed also the correct page reference in step 5 (forgot about the parent page). I updated the steps. Thx for the notice.

At step 3,  
{noformat}
3. Inside "example-page", insert an image via the WYSIWYG editor named "example.png".
{noformat}, the image should be uploaded inside the page with the WYSIWYG editor
, while at step 5 the image is not uploaded in the page, it's just referenced .

Thanks!