This issue has been created
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-a9811620-d295-475e-931f-f3d9b4d1bb8a XAWORKFLOW-120 Open

Image without specified document reference are unnecessary modified when published

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-83be2adb-a996-47ee-b62b-c895d4757576 Florian Véron created this issue on 30/Apr/25 17:25
 
Summary: Image without specified document reference are unnecessary modified when published
Issue Type: cid:jira-generated-image-avatar-a9811620-d295-475e-931f-f3d9b4d1bb8a Bug
Affects Versions: 2.4.2
Assignee: Unassigned
Created: 30/Apr/25 17:25
Priority: cid:jira-generated-image-static-major-eab74268-30d3-41a7-bd9d-5343cb50b6c4 Major
Reporter: Florian Véron
Description:

In a Draft, if you add an image in the content using the wysiwyg editor will be inserted this way in source : 

[[image:myImage.ext]] 

Publishing this content will result in :

[[image:PublishedDocument@myImage.ext]]  

It causes an issue when the document is renamed as the reference is not updated, images are displayed as broken because the previous document does not exist anymore.

 

The code is already managing image block like

image:myImage.ext 

using 

imageBlock.isFreeStandingURI() 

but isFreeStandingURI() is true only if there are no brackets around the image block.