-
Type:
Hot Fix Request
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.2.4.4, 5.2.6.1
-
Component/s: ACS REST API
-
Labels:
-
Environment:Ubuntu 18.04
ACS v5.2.4.4 / v5.2.6.1
Firefox browser running on Ubuntu 18.04
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.