-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Low
-
Component/s: Page - Attachments (Image, Video, etc.), Page - Editor - Cloud
-
2
-
Severity 3 - Minor
Issue Summary
- Attachments can have special characters like the one below in their file name.
- And when uploaded, and added to a page, it appears fine, but publishing it causes the page to break and cannot be loaded or edited again.
Steps to Reproduce
- Create a page, and upload this images in the zip file below.
- Both image can be uploaded and will appear fine in preview.
- Publish the page, and the page will not load with this error message.
We couldn't display your content
- For the image without the unicode, the storage format will show that the image is linked correctly.
<ac:image ac:align="center" ac:layout="center" ac:original-height="800" ac:original-width="1280"> <ri:attachment ri:filename="Name.png" ri:version-at-save="1" /> </ac:image>
- For the image with the unicode, the link to the file is broken, causing the issue.
<ac:image ac:align="center" ac:layout="center" ac:original-height="800" ac:original-width="1280"> <ri:attachment ri:version-at-save="2" /> </ac:image>
- It appears that the unicode caused the link to the image to not be generated.
Expected Results
- Either,
- The attachment should fail to be uploaded, with a user friendly error message.
- Or if we want to upload there types of files, the link to the attachment should be generated, and displayed correctly.
Actual Results
- Attachment uploads sucessfully, but not linked, causing the page to not load any content and becomes uneditable.
Workaround
- Use a Unicode detector to find and remove the special character, and reupload the attachment.
- Content needs to be edited via source or Rest API.