Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-10577

Flash upload - 404 on /alfresco/s/api/upload

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 4.0 Enterprise
    • Fix Version/s: None
    • Component/s: REST API
    • Security Level: external (External user)
    • Labels:
      None
    • Resolution Time Custom Field:
      7 weeks, 3 days, 20 hours, 24 minutes, 26 seconds

      Description

      The flash uploader fails on 4.0 r30834.
      When you try to upload a file using the flash uploader it fails silently.

      I dont think this is a flash issue. When turning on tomcat access log I get
      127.0.0.1 - - [29/Sep/2011:17:24:14 +0200] "POST /alfresco/s/api/upload;jsessionid=4DB502D64DF21C5ACBE9F31A0ECF3D1C?lang=sv_SE&alf_ticket=TICKET_bee5b6550f5571873d3aa7cbb686bbf246d9e71e HTTP/1.1" 404 4287
      0:0:0:0:0:0:0:1%0 - - [29/Sep/2011:17:24:14 +0200] "POST /share/proxy/alfresco/api/upload;jsessionid=4DB502D64DF21C5ACBE9F31A0ECF3D1C?lang=sv_SE HTTP/1.1" 404 4288

      As you can see it is accessing the api with jssessionid tickets, but gets a 404 response. There is no reason I should get a 404, there is a default format of json for that api.

      If I do a html based upload, it succeeds. Below the access log for that upload.
      127.0.0.1 - - [29/Sep/2011:17:30:31 +0200] "POST /alfresco/s/api/upload.html?alf_ticket=TICKET_45b87e385cc23fd27aea4555b047a60f14cd240d HTTP/1.1" 200 532
      0:0:0:0:0:0:0:1%0 - - [29/Sep/2011:17:30:31 +0200] "POST /share/proxy/alfresco/api/upload.html HTTP/1.1" 200 532

      I'm using Chrome 14 with built in flash. Same browser can upload to to 4.0 built with r30333.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  loftux Peter Löfgren
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Structure Helper Panel