-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.18
-
Component/s: Web UI
-
Release Notes Summary:Fixed preview and download for images when using a CDN
-
Tags:
-
Backlog priority:700
-
Team:UI
-
Sprint:UI - 2023-6
-
Story Points:3
When DownloadService is configured to provide final download links, ELEMENTS-1544 appends a clientReason URL parameter to the link - this results in a 403 error if having set up S3 storage with Cloudfront distribution.
Steps to Reproduce:
1. In a Nuxeo instance configured with S3 storage & Cloudfront distribution, configure the following contribution:
<require>org.nuxeo.ecm.core.io.download.DownloadService</require> <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="org.nuxeo.download.url.follow.redirect">true</property> </extension>
2. In Web UI, attempt to open a Document with a blob attachment.
Expected behavior: Request URL accepted and successfully returns downloaded blob.
Actual behavior: Request URL refused with a 403 error.
AC
If the URL for downloading the blob starts with the nuxeo base url, then the clientReason parameter should be appended
If not, the clientReason parameter should NOT be added to the URL
- causes
-
WEBUI-1442 Refresh download URL after navigating among the search results
- Resolved
- is cloned by
-
ELEMENTS-1630 Fix direct download URL failing with appended clientReason parameter
- Resolved
- is related to
-
ELEMENTS-1641 Use feature flag for view vs download
- Resolved
-
NXP-28599 Blob properties should expose final URL if possible
- Resolved
-
ELEMENTS-1544 Distinguish view vs download in document history tab -ELEMENTS
- Resolved
-
WEBUI-1196 Generate, verify and testing the RC version
- Resolved
- links to