[BUGFIX] Don't duplicate thumbnails in file list and file selector 99/53399/4
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 4 Jul 2017 20:03:27 +0000 (22:03 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 15 Jul 2017 06:53:46 +0000 (08:53 +0200)
commit755e0ed02610bf14a16ecae9b12770e5412d76f4
tree4f6ec4e1dc9cc14dd4a3198fa4b91234d782f50b
parente87ebbd60b1ab6034e0372c5b572c0058d822604
[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/53399
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php