-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.4.1
-
None
-
2
-
Severity 3 - Minor
-
0
-
Problem
When moving a page to another Space, if one of its child pages has the same name as a page in the destination Space, the move operation will fail, as Confluence does not allow two pages with the same name to exist in a single Space, which is the expected behavior. Normally, the child page can then be renamed in order to allow the parent page to be moved.
However, this will also happen if that child page (with a matching name) is an unpublished draft, which causes an issue as:
- The unpublished draft does not show under the page tree, or on searches, which makes it difficult to locate
- Only the person who created this draft has access to it (in order to publish or delete it) - most importantly, not even Confluence admins have access to this draft (CONFSERVER-35921)
Steps to Reproduce
- Create page "Matching title" in "Dest Space"
- Create page "Page to move" in "Source Space"
- Create page "Matching title" in "Source Space" as child of "Page to move", but don't publish it (wait for Confluence to automatically save the unpublished draft)
- Try to move page "Page to move" to "Dest Space"
Expected Results
The page move still shouldn't happen, as expected, since Confluence does not allow pages with duplicated names in the same Space.
However, in cases when the duplicated page is an unpublished draft, Confluence should handle this better, as this issue can't be solved by a regular user or admin (who aren't the owner of the draft).
At least, it could indicate that the duplicated page is indeed a draft, or perhaps provide the option to ignore the conflicting draft when moving the parent page.
Actual Results
Confluence will just throw this error:
The page 'Matching title' already exists in space 'Dest Space'. You need to rename the page title before moving it.
Workaround
Deleting the unpublished draft allows the parent page to be moved successfully (however, only the owner of the draft is capable of deleting it).