Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-31719

Issue Collector Cannot Attach File in IE9 or IE10

    XMLWordPrintable

Details

    Description

      While using the Issue Collector in other browser (Firefox, Chrome ) the attachment can be attach. However, IE9 or IE10 users can't attach file using the Issue Collector.

      The Error will appear like Error.png.

      Error in the log:

      ERROR anonymous 555x500x1 1sqz232 127.0.0.1 /rest/collectors/1.0/tempattachment/multipart/4a6bebac [collector.plugin.rest.TemporaryAttachmentsResource] Error creating temporary attachment
      java.io.FileNotFoundException: C:\Program Files\Atlassian\Application Data\JIRA\caches\tmp_attachments\8121317758746025194_D:\Users\admin\Documents\durian.png (The filename, directory name, or volume label syntax is incorrect)
      	at java.io.FileOutputStream.open(Native Method)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      	at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      	at com.atlassian.jira.collector.plugin.rest.TemporaryAttachmentsResource.createTemporaryAttachment(TemporaryAttachmentsResource.java:228)
      	at com.atlassian.jira.collector.plugin.rest.TemporaryAttachmentsResource.attachTemporaryFileViaForm(TemporaryAttachmentsResource.java:201)
      

      Root Cause:
      In IE9 the Internet Option > Custom Setting > "Include local directory path when uploading files to a server" is enabled. Refer to IE.png

      workaround
      In the IE9 client, disable the "Include local directory path when uploading files to a server". By default this is disabled for the "Internet" zone.

      Attachments

        1. Default_IE9_Setting_Include_Attachment_Path.png
          Default_IE9_Setting_Include_Attachment_Path.png
          31 kB
        2. Error.jpg
          Error.jpg
          67 kB
        3. IE.png
          IE.png
          86 kB
        4. Test.png
          Test.png
          103 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Votes:
              28 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: