[BUGFIX] Do not reprocess image preview when empty configuration is passed 04/54804/3
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 27 Nov 2017 21:09:52 +0000 (22:09 +0100)
committerFrans Saris <franssaris@gmail.com>
Tue, 12 Dec 2017 08:17:53 +0000 (09:17 +0100)
commit2f9cf149dcb294db17c0ef0ea108f0b54762417c
tree5b9d1e61dbdff8f557c2f7967ca8cd95256f7fbd
parent34cf1789be801ea36739af229e8baf4a76c7a49d
[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/54804
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php