[BUGFIX] Don't duplicate thumbnails in file list and file selector 08/53508/2
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 08:38:26 +0000 (10:38 +0200)
commitade023a020b6fa1ab7352830ab7bbd19adb5501d
tree07ff0bc5927742714c34f8a3e36e355a5d1675cf
parent71c8c0d946fcef5a8906c499ec3e1b74656e92b7
[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/53508
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