There are 3 updates.
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-072299ae-44fa-40f0-82af-c5d37e436ee9 XAWORKFLOW-115 Open

Move strategy is not working anymore

 
View issue   ·   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-a0b2b96b-c19d-4f42-8955-13226028a77c Changes by Alex Cotiugă on 26/Jul/24 10:23
 
Version: 2.3.3
Description: In https://jira.xwiki.org/browse/XAWORKFLOW-59 a new feature was introduced to Move a Draft when a Target is renamed, and vice versa.
Currently, the feature is blocked by the doc.isNew() check from [here|[https://github.com/xwiki-contrib/workflow-publication/blob/master/xwiki-workflow-publication-api/src/main/java/org/xwiki/workflowpublication/internal/PublicationWorkflowRenameListener.java#L383]] and [here|https://github.com/xwiki-contrib/workflow-publication/blob/master/xwiki-workflow-publication-api/src/main/java/org/xwiki/workflowpublication/internal/PublicationWorkflowRenameListener.java#L383] which is returning true all the time, making the code that follows to not be reached.
Assignee: Alex Cotiugă