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

Attachment File Not Found - in children pages when a page is moved to another space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: High High
    • 5.9.4
    • 5.9.1, 5.8.16
    • None

      Problem Statement

      Attachment file will not be migrated but remained in the original folder within the file system when a page (this includes the child pages) is moved between Confluence spaces. The attachment file may not be re-archived properly according to the new page and space hierarchy. As a result, a broken image will appear on Confluence page and the following errors will return upon selecting the attachment from the attachments list via "•••" > Attachments (#).

      Attachment File Not Found

      The attachment you were trying to download could not be found in the attachment file store. Either the file has been deleted manually or there was an error in removing the record of the attachment from Confluence.

      If this attachment is no longer required you can delete it from Confluence on the attachments page. Otherwise, you will need to attach a new copy.

      Steps To Reproduce

      1. Create a new Confluence space. (Let's name it "Space A").
      2. Create a new Confluence page in Space A. (Let's name it "Parent Page").
      3. Create three child pages under Parent Page and insert 10 attachments into each pages.
      4. Create a new Confluence space. (Let's name it "Space B").
      5. Move the Parent Page from Space A to Space B.
      6. Access the child pages and observe the results. Otherwise, you may access the attachments list via ••• > Attachments (#).

      Alternatively, you may download and install the .jsp file here to determine the exact number of missing attachments via http://<baseURL>/admin/find_and_recover_attachments-3.1.x-v5.jsp .

      Expected Behaviour

      All attachments under the Parent Page should be moved from Space A to Space B respectively.

      Actual Behaviour

      Attachments are broken and cannot be found with the following errors thrown.

      Attachment File Not Found

      The attachment you were trying to download could not be found in the attachment file store. Either the file has been deleted manually or there was an error in removing the record of the attachment from Confluence.

      If this attachment is no longer required you can delete it from Confluence on the attachments page. Otherwise, you will need to attach a new copy.

              Unassigned Unassigned
              kyong Kok Yan Yong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: