Issue Bug Closed

#91302Missing icons on foreign_table TCA defintions

Henrik Elsner 05/05/20, 08:20 updated 09/29/20, 15:07

Description

On 10.4.0 and above the icon of referenced records is not shown anymore, when using foreign_table within TCA definitions.
In previous core versions the individual icon of the record was shown to support the user and display the type of reference.
In v10 it seems like this functionality got lost/broken (or eventually removed on purpose?)

Already checked for: existence of my icon file and working TCA existence

my TCA:

'overlay_page_reference' => [
            'label' => $llPath . 'overlay.page_reference.label',
            'description' => $llPath . 'overlay.page_reference.description',
            'exclude' => 0,
            'config' => [
                'type' => 'select',
                'renderType' => 'selectSingle',
                'foreign_table' => 'pages',
                'foreign_table_where' => 'AND doktype = 28 AND hidden = 0 AND deleted = 0 AND sys_language_uid = 0'
            ],
        ],

Result in v10, without the icon that should been displayed:
!Bildschirmfoto 2020-05-05 um 08.03.50.png!

For comparison in v9:
!Bildschirmfoto 2020-05-05 um 08.19.24.png!

Reviews 1