This issue has been created
There are 2 updates.
 
 
Publication Workflow Application / cid:jira-generated-image-avatar-2a94908f-8f24-4c49-9c5f-459e52b97a51 XAWORKFLOW-124 Open

Some move strategies not working if workflow set up as recommended

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cbd6865e-0cc9-4b18-8348-072afe4471ba Clemens Robbenhaar created this issue on 04/Oct/25 09:49
 
Summary: Some move strategies not working if workflow set up as recommended
Issue Type: cid:jira-generated-image-avatar-2a94908f-8f24-4c49-9c5f-459e52b97a51 Bug
Affects Versions: 2.4.5
Assignee: Unassigned
Created: 04/Oct/25 09:48
Priority: cid:jira-generated-image-static-major-e5a6c385-d227-4560-ac1b-0e3b2b557adc Major
Reporter: Clemens Robbenhaar
Description:

Consider the following set up:

  • publication workflow extension installed
  • a workflow with the "Move strategy" : "Regardless of the type of document being moved, move its equivalent document(s)" is used.
  • that workflow is used to create documents in a Draft space, and publish them in a Public space
  • the Public space is set up in such a way that only admins can edit pages there.

Now as normal user (not admin) create a page like: Draft.PageA.WebHome and push it though the publication workflow (maybe with the use of other accounts for moderators and publisher).

Then rename the draft from Draft.PageA.WebHome to e.g. Draft.PageB.WebHome.

Expected behavior:

  • published page gets renamed from Public.PageA.WebHome to Public.PageB.WebHome.

Actual behavior:

  • published page remains at Public.PageA.WebHome
  • a warning in the rename log is shown as Cannot move [Wiki » Public » PageA » WebHome] to destination [Wiki » Public » PageB » WebHome] as the current user [Wiki » XWiki » Editor] has no edit rights on the destination document
 
 

2 updates

 
cid:jira-generated-image-avatar-cbd6865e-0cc9-4b18-8348-072afe4471ba Changes by Clemens Robbenhaar on 04/Oct/25 09:49
 
Description: Consider the following set up:
* publication workflow extension installed
* a workflow with the "Move strategy" : "Regardless of the type of document being moved, move its equivalent document(s)" is used.
* that workflow is used to create documents in a {{Draft}} space, and publish them in a {{Public}} space
* the {{Public}} space is set up in such a way that only admins can edit pages there.

Now as normal user (not admin) create a page like:  {{Draft.PageA.WebHome}} and push it though the publication workflow (maybe with the use of other accounts for moderators and publisher).

Then rename the draft from {{Draft.PageA.WebHome}} to e.g. {{Draft.PageB.WebHome}}.

Expected behavior:
* published page gets renamed from  {{Public.PageA.WebHome}} to  {{Public.PageB.WebHome}}.

Actual behavior:
* published page remains at {{Public.PageA.WebHome}}
* a warning in the rename log is shown as {{Cannot move [Wiki » Public » PageA » WebHome] to destination [Wiki » Public » PageB » WebHome] as the current user [Wiki » XWiki » Editor] has no edit rights on the destination document}}
* the page title and the workflow target is renamed to "PageB", however, on the published page, too.
Assignee: Clemens Robbenhaar