-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Affects Version/s: 5.7
-
Component/s: Editor - Page / Comment Editor
-
Environment:
Confluence Server running on Windows
How to Replicate:
- Create a new page
- Add an attachment of any type that will be converted/thumbnailed - e.g. PDF, DOC, PPT, etc.
- Save before the conversion is complete
What Happens:
System Error page returned with the following stack trace:
Cause
com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystemException: Unable to move attachment (Attachment: Heading1.docx v.1 (557131) admin) from [C:\confluence\2.Test Sites\DATA\confluence_5.7\attachments\ver003\nonspaced\130\57\557130\557131] to [C:\confluence\2.Test Sites\DATA\confluence_5.7\attachments\ver003\185\36\786435\132\57\557132\557131] - check folder permissions.
at com.atlassian.confluence.pages.persistence.dao.filesystem.HierarchicalMultiStreamAttachmentDataFileSystem.moveAttachment(HierarchicalMultiStreamAttachmentDataFileSystem.java:87)
caused by: java.io.IOException
at com.atlassian.confluence.util.io.ConfluenceFileUtils.moveDir(ConfluenceFileUtils.java:74)
Affected Environment:
- Confluence 5.7+ on Windows
- Use filesystem attachment storage
- Attaching any type of files that need to be converted - e.g. PDF, DOC, PPT, etc.
Workaround:
Create a page first, and edit them later - this prevents the attachment from being attached to the draft and so it does not need to be moved.