[BUGFIX] Prevent exception in ImageCropUpdater 23/53123/3
authorNicole Cordes <typo3@cordes.co>
Mon, 5 Jun 2017 12:18:51 +0000 (14:18 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 6 Jun 2017 10:07:14 +0000 (12:07 +0200)
commita25e353ac83e7adc3806ab291c7dad47b80d54bd
tree8cc712b238fd2f8ab25179830ef0a6fc6d9f4097
parentf458ae2eb3d7f552d8b1a1d898420600d3102f44
[BUGFIX] Prevent exception in ImageCropUpdater

The ImageCropUpdater throws an exception if a non-existing file is tried
to be processed. This happens because deleted rows are updated. The patch
checks the returned file object before further processing is executed.

Resolves: #81470
Releases: master, 8.7
Change-Id: I488994b1ad842e28d928f3b4a2db1c8c007afe3c
Reviewed-on: https://review.typo3.org/53123
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Classes/Updates/RowUpdater/ImageCropUpdater.php