Project

General

Profile

Actions

Bug #14349

closed

Enabling $TCA field definition with 'typeicon_column' will not render default icon

Added by Carlos Chiari about 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-10-08
Due date:
% Done:

0%

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

Description

If a custom table field is set with ['ctrl']['typeicon_column' ], then there would be a missing icon when no type has been set yet.

At line 137, on class.t3lib_iconworks.php, the code says: if (!$iconfile = $TCA[$table]['ctrl']['typeicons'][$row[$TCA[$table]['ctrl']['typeicon_column']]]) { etc.

Then, as no $iconfile has been set, it will look for it on typo3/gfx/i/ folder (line 143), where obviously only core tables have their icon in.
(issue imported from #M409)

Actions

Also available in: Atom PDF