Bug #93024

PDF download from private storage yields thumbnail

Added by Sebastian Michaelsen 3 months ago. Updated 24 days ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-12-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

If a TYPO3 installation is capable (ImageMagick + configuration) of creating thumbnails of PDFs, the eID download of PDFs will always output an image instead of a PDF.

This is the case since #90068

Steps to reproduce:
  • Have a TYPO3 installation that creates thumbnails for PDFs (Check in Environment backend module)
  • Create a non-public file storage with a PDF in it.
  • Link the PDF, e.g. via the RTE of a text element.
  • Click the download link in the frontend.

Expected result: PDF is opened or downloaded
Actual result: Thumbnail image of PDF is opened


Related issues

Related to TYPO3 Core - Feature #90068: Implement better FileDumpControllerNewStefan Froemken2020-01-08

Actions
Has duplicate TYPO3 Core - Bug #93410: The download of pdf files via privatestorage/eID returns an imageNew2021-02-02

Actions
#1

Updated by Sebastian Michaelsen 3 months ago

  • Related to Feature #90068: Implement better FileDumpController added
#2

Updated by Mathias Brodala 2 months ago

  • Subject changed from eID file download of PDFs not possible to PDF download from private storage yields thumbnail
#3

Updated by Mathias Brodala 2 months ago

  • Priority changed from Should have to Must have
  • Is Regression set to Yes
#4

Updated by Gerrit Code Review about 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

#5

Updated by Gerrit Code Review about 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

#6

Updated by Gerrit Code Review about 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

#7

Updated by Gerrit Code Review about 2 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

#8

Updated by Gerrit Code Review about 2 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

#9

Updated by Altan Tosun 26 days ago

  • Has duplicate Bug #93410: The download of pdf files via privatestorage/eID returns an image added
#10

Updated by Gerrit Code Review 24 days ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67333

Also available in: Atom PDF