[BUGFIX] Don't duplicate thumbnails in file list and file selector 09/53509/3
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 4 Jul 2017 20:03:27 +0000 (22:03 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Sat, 15 Jul 2017 20:06:56 +0000 (22:06 +0200)
commit7f452fc07f8cf24b873530eabeb963bf2c16f17c
tree06860c45dae6c9b3f867889e0a221d6715294bcb
parentfb28d8de21ebec06c863ad89f5ec2d50f4403800
[BUGFIX] Don't duplicate thumbnails in file list and file selector

Default width and height for thumbnails is now applied in ProcessedFile
thus configuration column of the sys_file_processedfile table is filled
even if empty configuration was passed to File->Process().

This prevents thumbnails with the same content but different names being
generated, thus improves performance.

Resolves: #81776
Releases: master, 8.7, 7.6
Change-Id: Ie001e3d6404b52c251d9ed24bcac461ed75050b8
Reviewed-on: https://review.typo3.org/53509
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php