Project

General

Profile

Actions

Bug #91061

closed

Locallang file not properly used for TCA type select items in 9.5.15

Added by Stefan Terborg over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-04-16
Due date:
% Done:

0%

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

Description

When setting items for a select field the labels via locallang file are not displayed but instead the path to the language file with key.

TCA configuration:

...
'config' => [
                'type' => 'select',
                'renderType' => 'selectSingle',
                'items' => [
                    ['LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.0', 0],
                    ['LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.1', 1],
...

Expected behaviour: display language entries in select (My entry one, My entry two)
Actual behaviour: displaying paths to language file (LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.0, LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.1)

This happens in TYPO3 9.5.15 not in 9.5.14

Actions

Also available in: Atom PDF