Issue Bug Closed

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

Carlos Chiari 10/08/04, 04:24 updated 08/12/06, 14:27

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.