Bug #91940
Updated by Markus Klein about 4 years ago
If the image field is last in showitem and is not followed directly by the closing single tick the thumbnail does not get rendered Not working <pre> 'types' => [ '0' => [ 'showitem' => ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, --palette--;;information, --palette--;;privacy, image ', ], ], </pre> Working <pre> 'types' => [ '0' => [ 'showitem' => ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, --palette--;;information, --palette--;;privacy, image', ], ], </pre> This is because of a preg_match in @\TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList@ \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList @'/(^|(.*(;|,)?))' '/(^|(.*(;|,)?))' . $thumbsCol . '(((;|,).*)|$)/'@ '(((;|,).*)|$)/' which requires to have a comma and any character or the string end following the field name. Maybe we can change the pattern (;|,) to (;|,| ) to allow whitespaces aswell?