There are 3 updates, 1 comment.
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-c5fd9eaa-73ad-4cb6-9bf8-f36e8b65b737 XAWORKFLOW-120 Closed

Image without specified document reference are unnecessary modified when published

 
View issue   ·   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-76ce060b-8f43-4a43-a0ce-991fa2a0d82d Changes by Florian Véron on 02/May/25 11:00
 
Assignee: Florian Véron
Resolution: Fixed
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-76ce060b-8f43-4a43-a0ce-991fa2a0d82d Florian Véron on 02/May/25 10:55
 

Related code : https://github.com/xwiki-contrib/workflow-publication/blob/a56356f4ae0344f71c00c36ca2a9d5981ffd7461/xwiki-workflow-publication-api/src/main/java/org/xwiki/workflowpublication/internal/ReferencesTransformDocPublishingEventListener.java#L180
 
imageBlock.isFreeStandingURI results with the following cases :

  • image:myImage.ext -> true
  • [[image:myImage.ext]] -> false
     
    This second case must be taken in account in order to not apply reference modification on it.