-
Bug
-
Resolution: Fixed
-
Medium
-
49
-
Severity 3 - Minor
-
4
-
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
- Open a page in the new editor
- Upload an attachment
- 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.