Cannot save new pages with attachments that are still being converted on Windows

XMLWordPrintable

      How to Replicate:

      1. Create a new page
      2. Add an attachment of any type that will be converted/thumbnailed - e.g. PDF, DOC, PPT, etc.
      3. 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:

      1. Confluence 5.7+ on Windows
      2. Use filesystem attachment storage
      3. 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.

      More information, watch screencast attached

            Assignee:
            Niraj Bhawnani
            Reporter:
            Monique Khairuliana (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: