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

Export to PDF fails on Windows if title contains colon character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 4.1.3
    • Page - Export / Import

    Description

      1. Create a new page in Confluence with : in the title, ie. This is: title
      2. Export this page to PDF
      3. Confluence fails to export PDF and gives an error:
        java.io.IOException: The filename, directory name, or volume label syntax is incorrect
            at java.io.WinNTFileSystem.canonicalize0(Native Method) 
        java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        	at java.io.WinNTFileSystem.canonicalize0(Native Method)
        	at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
        	at java.io.File.getCanonicalPath(File.java:559)
        	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.prepareDownloadPath(ExportPageAsPdfAction.java:65)
        	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.execute(ExportPageAsPdfAction.java:35)
        ...
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              8407b6966c3e Teemu Qvick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: