Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-60238

Unpublished drafts can stop pages from being moved due to already existing page titles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.4.1
    • Content - Page
    • None

      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:

      1. The unpublished draft does not show under the page tree, or on searches, which makes it difficult to locate
      2. 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

      1. Create page "Matching title" in "Dest Space"
      2. Create page "Page to move" in "Source Space"
      3. 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)
      4. 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).

              Unassigned Unassigned
              fmorais Felipe Morais (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: