Project

General

Profile

Actions

Bug #65520

closed

Missing check if sys_file_reference is broken

Added by Markus Klein about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-03-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #64178: Element information needs cleanupClosed2015-01-07

Actions
Actions

Also available in: Atom PDF