-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10
-
Component/s: Addons, Developer documentation
-
Tags:
-
Backlog priority:700
-
Browser:
-
Sprint:nxGang Sprint 11.1.2
-
Story Points:0
Getting this error with CSV export on a server which uses S3 for storage
Uncaught (in promise) Error: missing Content-Disposition header at HTMLElement._download (elements.html:12900) at $.op.execute.then (elements.html:12862)
in this case the server response is a redirect which does not contain the Content-Disposition header
response: Response body: (...) bodyUsed: false headers: Headers {} ok: true redirected: true status: 200 statusText: "OK" type: "cors" url: "https://...-bucket.s3.ap-northeast-1.amaz ...
The element should follow the redirect.
EDIT
the redirection is done, it is just that the transient_automation store is now stored on the s3 default bucket and since CSV export and Bulk Download happens in an XHR context, we now need a specific cors-config on the s3 bucket to expose the needed header in order that the download goes through.