There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-37340ca5-07a0-4a8a-8a94-707d272e7fca 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-b7af35ae-6d55-4a7a-882a-5e8b4b5551e1 Changes by Eleni on 28/May/26 13:56
 
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
. : 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").