Issue Bug Closed

#81470prevent exception in ImageCropUpdater

Nicole Hummel 06/05/17, 14:12 updated 10/02/18, 10:59

Description

Given:

An installation with deleted sys_file_records pointing to a deleted file in sys_file

Expectation:

The ImageCropUpdater should be update without an error.

Actual:

An exception is thrown because of missing sys_file information.
`Argument 1 passed to TYPO3\CMS\Core\Imaging\ImageManipulation\Area::makeRelativeBasedOnFile() must implement interface TYPO3\CMS\Core\Resource\FileInterface, null given, called in typo3\sysext\install\Classes\Updates\RowUpdater\ImageCropUpdater.php on line 85`

Reviews 2