Issue Bug Closed

#65520Missing check if sys_file_reference is broken

Markus Klein 03/04/15, 18:44 updated 10/02/18, 11:45

Description

The show_item module lacks a check if the reference it wants to display is still there.

This causes a error message:

#1: 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/backend/Classes/Controller/ContentElement/ElementInformationController.php on line 639 and defined in typo3/sysext/backend/Classes/Utility/IconUtility.php line 689

Reproduce by: * Creating a CE with an image * Deleting the CE via DB-Management software (do not delete in BE, since refindex would be updated) * Go to the Filelist module and click on the reference number next to the image selected above.

Reviews 3