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 . 
            Nancy Lopez made changes -
            Link New: This issue duplicates CONFSERVER-58357 [ CONFSERVER-58357 ]
            Nancy Lopez made changes -
            Description Original: h3. Summary

            Moving Pages with duplicate parent and child names between spaces produces an unknown error:
             !Screen Shot 2018-06-18 at 12.43.27.png|thumbnail!
            h3. Steps to Reproduce
             # Create a page and give it a unique name, i.e "test_page"
             # Create a child page under it with a unique name, i.e "child_page"
             # Go to different space and repeat steps 1 & 2 with exact same names respectfully
             # Attempt to move parent "test_page" page from one space to another

            h3. Expected Results

            Error logged for parent and each child page in WebUI:
            {quote}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.
            {quote}
            h3. Actual Results

            The Following error appears in WebUI instead:
            {quote}The following error(s) occurred:
             * $error
             * $error{quote}

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

            h3. Workaround
            Attempting to copy pages instead of moving them will list correct duplicate page titles
            New: h3. Summary

            Moving Pages with duplicate parent and child names between spaces produces an unknown error:
             !Screen Shot 2018-06-18 at 12.43.27.png|thumbnail!
            h3. Steps to Reproduce
             # Create a page and give it a unique name, i.e "test_page"
             # Create a child page under it with a unique name, i.e "child_page"
             # Go to different space and repeat steps 1 & 2 with exact same names respectfully
             # Attempt to move parent "test_page" page from one space to another

            h3. Expected Results

            Error logged for parent and each child page in WebUI:
            {quote}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.
            {quote}
            h3. Actual Results

            The Following error appears in WebUI instead:
            {quote}The following error(s) occurred:
             * $error
             * $error{quote}

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

            h3. 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
            Jeffrey Thornsen made changes -
            Link New: This issue is duplicated by CONFSERVER-58357 [ CONFSERVER-58357 ]
            Mateus Machado (Inactive) made changes -
            Affects Version/s New: 6.15.4 [ 86397 ]
            Niraj Bhawnani made changes -
            Rank New: Ranked lower
            Quan Pham made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Done [ 14331 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Done [ 14235 ]
            Testing Notes New: * Testing the problem happen on 7.0.1 
             * Testing the problem break for copy page hierarchy
             * Testing the if it work fine with more than 2 pages/blogpost duplications.
            Quan Pham made changes -
            Resolution New: Resolved Locally [ 7 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]

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

                Created:
                Updated:
                Resolved: