[BUGFIX] Do not reprocess image preview when empty configuration is passed 39/55039/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 27 Nov 2017 21:09:52 +0000 (22:09 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 12 Dec 2017 08:23:37 +0000 (09:23 +0100)
commit63d49e92678302e47bc91b91d2b06f3e50e7934a
tree6fd939f7117f469fb860cbccee800cbcfae2bc00
parent4fa52c794264c385ba430b5388a1d60633af3d13
[BUGFIX] Do not reprocess image preview when empty configuration is passed

Fixes regression introduced in https://review.typo3.org/53399
Where thumbnail was regenerated every time process was called with
empty configuration like:

$fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])

Resolves: #83242
Relates: #81776
Releases: master, 8.7, 7.6
Change-Id: I6a4c331bad4d80225d3914f1a48f6071b0d87380
Reviewed-on: https://review.typo3.org/55039
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php