Project

General

Profile

Actions

Bug #81470

closed

prevent exception in ImageCropUpdater

Added by Nicole Cordes over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2017-06-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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`

Actions

Also available in: Atom PDF