Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-32110

Error When Downloading All Attachments if one of the attachments has invalid characters in the file name on Windows

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When downloading All Attachments when viewing the Attachments page of a Confluence page, you will get an error if the following conditions are satisfied:

      • Confluence server is running on Windows
      • One of the attachments contain one of the following characters: \ / : * ? " < > |

      In the logs you will find the following error:

      2014-10-09 03:35:25,374 ERROR [http-8090-7] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action^M
       -- url: /pages/downloadallattachments.action | userName: abaner | referer: https://likwid.nike.com/pages/viewpageattachments.action?pageId=18055281&highlight=Measurement+of+thermal+radiative+properties+of+penguin+down+and+other+fibrous+materials+using+FTIR.pdf
      java.io.FileNotFoundException: D:\Atlassian\Application Data\Confluence\temp\download6T8Sm033525\Fabrication and characterization of a novel polypropylene:poly(vinyl alcohol):aluminum hybrid layered assembly for high-performance fibrous insulation.pdf (The filename, directory name, or volume label syntax is incorrect)^M
              at java.io.FileOutputStream.open(Native Method)^M
              at java.io.FileOutputStream.<init>(Unknown Source)^M
              at java.io.FileOutputStream.<init>(Unknown Source)^M
              at com.atlassian.confluence.pages.actions.DownloadAllAttachmentsOnPageAction.execute(DownloadAllAttachmentsOnPageAction.java:43)^M
              at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)^M
              at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)^M
              at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)^M
              at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:64)^M
              at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d44abc05a5ed William Yeack
              Votes:
              9 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: