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 about 4 years ago. Updated almost 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 #1

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Needs Feedback

I can't really reproduce that nor did we recieve any issues about that particular problem.

If you check out e.g. the field fe_group from table pages, this all works fine.

Can you retest on a clean installation or do a git bisect to find the problem you have?

Actions #2

Updated by Thomas Pronold almost 4 years ago

Cannot confirm, a quick test on fresh 9.5.15 worked for me.

Actions #3

Updated by Stefan Terborg almost 4 years ago

I tested on another installation without this failure. So may be some other issue or no issue at all. I have to test further.
Please close this issue.
Sorry for any inconviniences.

Actions #4

Updated by Riccardo De Contardi almost 4 years ago

  • Status changed from Needs Feedback to Closed

@Stefan Terborg thank you for your kind and quick reply; I close this issue for now.

If you think that this is the wrong decision or I have misunderstood, or have more information about how to reproduce it, please reopen it or open a new issue with a reference to this one.

Thanks.

Actions

Also available in: Atom PDF