There is 1 update.
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-4ade95c2-5fd8-408e-ac54-525fe3cb94e0 XAWORKFLOW-122 Open

Target field is not updated if a workflow draft page is moved/renamed

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-3f23b255-dfd5-493b-9bcc-bed7b3615bdc Changes by Clemens Robbenhaar on 29/Jul/25 20:27
 
Description: Instead the "target" in the PublicationWorkflow.PublicationWorkflowClass  still point to the old location.

That is of course the correct behavior for workflows, where the target page should not be moved, just because the draft page is moved.
However for the options "moveTarget" and "moveAll" of the moveStrategy field, the target field in the object should be updated, or after the next publication the new version will be created in the old location, while the target is actually present in the new location.

To Reproduce:
* create workflow config with e.g. "moveAll" aka "Regardless of the type of document being moved, move its equivalent document(s)"
* create a draft e.g. in {{Drafts.A.WebHome}}
* publish the page to e.g. {{Published.A.WebHome}}
* rename {{Drafts.A.WebHome}} to {{Drafts.B.WebHome}}

Expected behavior:
* {{Published.
. A.WebHome}} is renamed to {{Published. . B.WebHome}}
* the "target" field in {{Drafts.B.WebHome}} contains the value {{Published.
. B.WebHome}}

Observed behavior
* {{Published.
. A.WebHome}} is indeed renamed to {{Published. . B.WebHome}}
* however the "target" field in {{Drafts.B.WebHome}} contains the value {{Published.A.WebHome}}, as visible in the object editor
* interestingly {{Published.
. B.WebHome}} does have the value "target" as {{Published. . B.WebHome}}