Details
-
Bug
-
Resolution: Fixed
-
High
-
5.7
-
Confluence Server running on Windows
Description
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.