Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13036

Error when uploading file with empty mimetype by drag&drop

    XMLWordPrintable

    Details

      Description

      Uploaded a document.properties via drag&drop in a workspace. logs attached.

      Failing request (no mimetype):

      Accept:*/*
      Accept-Encoding:gzip,deflate,sdch
      Accept-Language:en-US,en;q=0.8,fr;q=0.6,fr-FR;q=0.4
      Cache-Control:no-cache
      Connection:keep-alive
      Content-Length:10631
      Content-Type:
      Cookie:JSESSIONID=7F0C5DF491381126266B1C590727D726.nuxeo; org.jboss.seam.core.Locale=en_US
      Host:localhost:8080
      Nuxeo-Transaction-Timeout:35
      Origin:http://localhost:8080
      Referer:http://localhost:8080/nuxeo/nxpath/default/default-domain/workspaces/Workspace1@view_documents?tabIds=%3A&conversationId=0NXMAIN
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
      X-Batch-Id:batch-1383044379029-389
      X-File-Idx:0
      X-File-Name:messages.properties
      X-File-Size:10631
      X-File-Type:
      X-Requested-With:XMLHttpRequest
      

      Successful request (pdf)

      Accept:*/*
      Accept-Encoding:gzip,deflate,sdch
      Accept-Language:en-US,en;q=0.8,fr;q=0.6,fr-FR;q=0.4
      Cache-Control:no-cache
      Connection:keep-alive
      Content-Length:94684
      Content-Type:application/pdf
      Cookie:JSESSIONID=7F0C5DF491381126266B1C590727D726.nuxeo; org.jboss.seam.core.Locale=en_US
      Host:localhost:8080
      Nuxeo-Transaction-Timeout:35
      Origin:http://localhost:8080
      Referer:http://localhost:8080/nuxeo/nxpath/default/default-domain/workspaces/Workspace1@view_documents?tabIds=%3A&conversationId=0NXMAIN
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
      X-Batch-Id:batch-1383044472858-186
      X-File-Idx:0
      X-File-Name:AAP%20Activity%20report%20September.pdf
      X-File-Size:94684
      X-File-Type:application/pdf
      X-Requested-With:XMLHttpRequest
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: