Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-21250

The fix for MNT-20734 introduces a problem whereby files larger than 4MB cannot be downloaded

    Details

    • Bug Priority:
      Category 1
    • Hot Fix Version:
      5.2.4.5, 5.2.6.4
    • ACT Numbers:

      01002369, 01002653

    • Regression Since:
    • Premier Customer:
      Yes
    • Sprint:
      Repo 73
    • Story Points:
      13
    • Epic Link:
    • Delivery Team:
      Feature Teams

      Description

      MNT-20734 / MNT-20965 was resolved in the Hotfix's: ACS v5.2.4.4 and ACS v.5.2.6.1.  However, the fix has introduced a new problem when downloading files larger than 4MB.

      Steps to Reproduce:

      1/. Install OOTB ACS v5.2.4.4

      2/. Upload 2 files: fileA and fileB: (I uploaded the files to 'Repository -> Shared' but I do not think the location is relevant)

       - fileA is larger than 4MB (actual size is 4.2 MB)

       - fileB is smaller than 4MB (actual size is 2.9 MB)

      3/. Using SHARE, try to download each file.

       - fileA returns an error

       

      Firefox can’t find the file at http://localhost:8080/share/proxy/alfresco-api/-default-/public/alfresco/versions/1/nodes/c556b7f2-0c6a-4d6d-8834-89f81e5d506f/content?attachment=true.

       

       - fileB downloads OK

      4/. Using the REST API, try to download each file: 
      alfresco/api/default/public/alfresco/versions/1/nodes/{noderef}/content

       - fileA returns an HTTP 500 error 
       

      { "error": { "errorKey": "framework.exception.ApiDefault", "statusCode": 500, "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions", "descriptionURL": "https://api-explorer.alfresco.com", "logId": "5456b91a-b014-4235-93cd-efe1c61979b4"  } }

       
      - fileB downloads OK.
       

      I also tested this against ACS v5.2.6.1 and in that case, the download from SHARE worked for files larger than 4MB but the download using the REST API fails as per the above steps.

      ACS v5.2.4.3 does not have this problem.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  pbateman Paul Bateman
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel