#64563Unable to delete images which have references
Description
When trying to delete an image from the file list nothing happens and the list view turns blank. The following error is logged:
Core: Error handler (BE): PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord() must be of the type array, null given, called in
/typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php on line 411 and defined in
/typo3/sysext/backend/Classes/Utility/IconUtility.php line 710
This error only occurs when the file is referenced in a content element (even if those references are in older revisions).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.