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

Users can publish page without finalizing attachment upload

XMLWordPrintable

      Summary

      After uploading a file, Confluence users can immediately publish a page, whether or not the upload succeeded or completed. Later on, when accessing the page's attachment, the user will see errors like the following:

       "The file with the given id does not have any binary content".
      Something went wrong.
      We couldn't generate a preview for this file. 

      Environment

      • Cloud

      Steps to Reproduce

      1. Open a page in the new editor
      2. Upload an attachment
      3. Publish the page immediately even if the attachment failed to upload or didn't finish uploading

      Expected Results

       If the upload fails, the user should be notified that the upload needs to be re-completed. The publish button is grayed out to prevent the user from publishing the page until the upload finishes. Once the file is uploaded and the user publishes the page, the user is able to access the uploaded attachment.

      Actual Results

      The user can publish the page with the attachment even if the attachment didn't finish uploading or has failed to upload. 

      Later on, when accessing the page's attachment, the user will see an error "The file with the given id does not have any binary content". The error makes it appear that the file was lost when it never finished uploading. When tapping the attachment via the Attachments part of the page, the following error message is displayed:

      "error":{"code":"NotFoundError","title":"Some resources were not found","href":"https://api.media.atlassian.com#NotFoundError"}} 

      Workaround

      Wait a few extra minutes to finish the upload before publishing the page. If the upload failed, re-upload the attachment.

              megan@atlassian.com ME (Inactive)
              sxu3@atlassian.com Sunny Xu (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              32 Start watching this issue

                Created:
                Updated:
                Resolved: