[BUGFIX] Do not reprocess image preview when empty configuration is passed 40/55040/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:26:29 +0000 (09:26 +0100)
commitf7cafe6e962a1360cb790909e4b30f4fa12990c7
treeed07bd53b139d8ddeb5f01d3101f6e81cb0e596c
parentc889b7dbcbb3293050c92bad7285f48cfeefed3e
[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/55040
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