Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-79399

Confluence Storage Format Links Incorrectly Create New Pages Instead of Handling Moved or Renamed Targets in Migrated Instances

XMLWordPrintable

      Issue Summary

      Migration is a long process, usually executed moving and validating few spaces per time. During the migration process, pages can be moved or renamed, causing the target links to fail with "Page not found error".

      However, when the link is using Confluence Storage Format, when hitting the link it tries to create a new page on the target space, instead of be smart to redirect to the new location or title name (ideally) or show a Page note found error, with the suggestion of the new location/new title.

      Steps to reproduce

      1. Confluence On-Prem with:
      Spaces A and the pages: "A page 1"
      Spaces B and the pages: "B page 2", "B page 3"
      Spaces C and the pages: "C page 2", "C page 3"

      2. Edit "A Page 1" on Space A to add links to the pages on space B and C;

      3. Hit the Link icon again, but select "search" and search for the pages "B page 2" and "C page 2". Observe that the link created will use the Confluence Storage Format:

      <ac:link><ri:page ri:space-key="spaceB" ri:content-title="B page 2" /></ac:link>
      <ac:link><ri:page ri:space-key="spaceC" ri:content-title="C page 2" /></ac:link>
      

      4. Copy and paste the URL from "B page 3" and "C page 3". Observe that the link created will also use the Confluence Storage Format:

      <ac:link><ri:page ri:space-key="spaceB" ri:content-title="B page 3" /></ac:link>
      <ac:link><ri:page ri:space-key="spaceC" ri:content-title="C page 3" /></ac:link>
      

      5. Migrate space A to Cloud using the Migration Assistance

      6. On Cloud, reach space A, "A page 1". Observe that:

      • The target links remains on the same "A page 1"

      7. Migrate space C to Cloud using the Migration Assistance

      9. On Cloud, reach space A, "A page 1". Observe that:

      • Target links for the pages "C page 2" and "C page 3" now are working properly, opening the pages on space C.

      10. On the On-Prem environment, rename the pages on space B to "B renamed page 2", "B renamed page 3"

      11. Migrate space B to Cloud using the Migration Assistance

      12. On Cloud, reach space A, "A page 1".

      Expected results

      It is expected to be redirected to "B renamed page 2" (ideally) or show "Page not found" error with the suggestion to the renamed page.

      Actual Results

      it opens a new draft page with the same previous tile on Space B

      Workaround

      Remove the link and add again to the renamed page

      note: Same issue observed when moving the page to another space, instead of renaming.

              Unassigned Unassigned
              imurakami@atlassian.com Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: