Moving pages within space returns "Something went wrong. Refresh the page and try again."

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: Organize - Move
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When moving a page within a space, the error "Refresh the page and try again. If this keeps happening, contact your space administrator" is presented. This happens regardless of whether the page is moved directly from the Page Tree or from the Manage Pages > Reorder Pages menu in the Space settings.

      Steps to Reproduce

      1. Open a page
      2. Drag and drop the page to a new position within the same space

      Expected Results

      Page is moved.

      Actual Results

      The below exception is thrown in the browser console:

      react-dom.production.min.js:209 Error: GraphQL error: java.lang.IllegalArgumentException: Can't add a parent from another space.
          at new t (bundle.esm.js:63:28)
          at Object.next (bundle.esm.js:1004:53)
          at g (Observable.js:135:18)
          at b (Observable.js:179:3)
          at e.value (Observable.js:235:7)
          at bundle.esm.js:866:75
          at Set.forEach (<anonymous>)
          at Object.next (bundle.esm.js:866:27)
          at g (Observable.js:135:18)
          at b (Observable.js:179:3)
      

      In the UI, an error saying "Something went wrong. Refresh the page and try again. If this keeps happening, contact your space administrator." will be presented.

      Workaround

      If you come across this error, please reach out to the Atlassian Support team.

      As a workaround, you can resolve this by following the steps outlined below:

      1. Move the affected page to a new space
      2. Move the page back to the original space.

            Assignee:
            Unassigned
            Reporter:
            Leonardo H
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: