There are 2 updates.
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-d73f5115-c071-4765-b76f-a3d87ac09d48 XAWORKFLOW-120 Closed

Image without specified document reference are unnecessary modified when published

 
View issue   ·   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-db47439e-5379-43a9-9a33-85eb85cde0db Changes by Florian Véron on 02/May/25 14:07
 
Fix Version: 2.4.3
Description: In a Draft, if you add an image in the content using the wysiwyg editor will be inserted this way in source : 
{code:java}
[[image:myImage.ext]] {code}
Publishing this content will result in :
{code:java}
[[image:PublishedDocument@myImage.ext]]  {code}
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
{code:java}
image:myImage.ext {code}
using 
{code:java}
imageBlock.isFreeStandingURI() {code}
but isFreeStandingURI() is true only if there are no brackets around the image block.