|
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}} |
|