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

Unknown error when moving pages with child and parent both being duplicate

    • Icon: Bug Bug
    • Resolution: Resolved Locally
    • Icon: Low Low
    • 7.0.1
    • 6.9.1, 6.12.0, 6.11.2, 6.12.1, 6.12.2, 6.12.3, 6.13.4, 6.15.2, 6.15.3, 6.15.4, 6.15.6, 6.15.8
    • Content - Page

      Summary

      Moving Pages with duplicate parent and child names between spaces produces an unknown error:

      Steps to Reproduce

      1. Create a page and give it a unique name, i.e "test_page"
      2. Create a child page under it with a unique name, i.e "child_page"
      3. Go to different space and repeat steps 1 & 2 with exact same names respectfully
      4. Attempt to move parent "test_page" page from one space to another

      Expected Results

      Error logged for parent and each child page in WebUI:

      The following error(s) occurred:
      The page 'test_page' already exists in space 'SPACE'. You need to rename the page title before moving it.
      The page 'child_page' already exists in space 'SPACE'. You need to rename the page title before moving it.

      Actual Results

      The Following error appears in WebUI instead:

      The following error(s) occurred:

      • $error
      • $error

      Notes

      The issue is not observed on Confluence 6.8.1
      The issue is not observed when only 1 page is duplicate

      Workaround

      Attempting to copy pages instead of moving them will list correct duplicate page titles
      OR
      Get a HAR file while hitting the Move button and inspect the movepage.action request, the Response Content will contain the list of duplicate page titles

            [CONFSERVER-55941] Unknown error when moving pages with child and parent both being duplicate

            This is still an issue on 7.4.7.

            Cory Bryant added a comment - This is still an issue on 7.4.7.

            This should be re-opened.  The error message displayed by confluence contains an error.

            Ryan Hammond added a comment - This should be re-opened.  The error message displayed by confluence contains an error.

            Anh Tran added a comment -

            We are seeing this issue on 6.13.10 . 

            Anh Tran added a comment - We are seeing this issue on 6.13.10 . 

            This also happen with 6.15.2.

            Tks kristopher.perez for the "Copy" option.

            Junio Fernandes added a comment - This also happen with 6.15.2. Tks kristopher.perez for the "Copy" option.

            Error also occurs if you have identical names on childpages only. Ie you'll get error if you move parent AAA with child XXX and YYY to new space where parent BBB have child XXX and YYY.

            So problem seem to be that the MOVE function cannot handle more than one duplicate before it throws this useless error.

            Thank you to Kristopher for nice help via the COPY option above

            Jan-Ove Nesheim added a comment - Error also occurs if you have identical names on childpages only. Ie you'll get error if you move parent AAA with child XXX and YYY to new space where parent BBB have child XXX and YYY. So problem seem to be that the MOVE function cannot handle more than one duplicate before it throws this useless error. Thank you to Kristopher for nice help via the COPY option above

            IT Support added a comment -

            6.15.6 also affected. Tooks as couple of time to figure that out. not good!

            IT Support added a comment - 6.15.6 also affected. Tooks as couple of time to figure that out. not good!

            Frédéric added a comment -

            6.13.4 is also affected (see also CSP-252077).

            Frédéric added a comment - 6.13.4 is also affected (see also CSP-252077).

            Thank you, Kristopher!

            Paula Dasch added a comment - Thank you, Kristopher!

            Kristopher Drew Perez added a comment - - edited

            The issue occurs when you try to Move the pages, but then we don't see which pages are a conflict.  However, there is another workaround that I found today, which is to use the "Copy" option instead.

            You don't have to execute the full copy, but it will show you the names of pages that are going to conflict (only up to 3 at a time).  You can then either rename the affected pages, or use the copy option to append additional text, thereby ensuring the titles are unique.

            https://ibb.co/dgwXwYD

             

            Kristopher Drew Perez added a comment - - edited The issue occurs when you try to Move the pages, but then we don't see which pages are a conflict.  However, there is another workaround that I found today, which is to use the "Copy" option instead. You don't have to execute the full copy, but it will show you the names of pages that are going to conflict (only up to 3 at a time).  You can then either rename the affected pages, or use the copy option to append additional text, thereby ensuring the titles are unique. https://ibb.co/dgwXwYD  

            6.12.1 is also affected

            Juan Francisco Sacristan Garcia added a comment - 6.12.1 is also affected

              qpham@atlassian.com Quan Pham
              imuzaliov Igor M.
              Affected customers:
              41 This affects my team
              Watchers:
              54 Start watching this issue

                Created:
                Updated:
                Resolved: