Project

General

Profile

Actions

Bug #94049

closed

NewRecordController does not fetch group label from Extension Configuration when NOT using LLL labels

Added by Stefan P about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2021-05-04
Due date:
% Done:

100%

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

Description

The NewRecordController (roughly line number 700+ in method renderNewRecordControls()) fetches the group label by parsing the LLL identifier and falling back to the title in ext_emconf.php. However there are cases when no LLL file is used.

The fallback to the title in $ext_emconf.php should happen in any case, whether a LLL file was used or not. When no LLL identifier was used currently only the extension key is used directly.

To always check ext_emconf.php is possible because the extension key is derived from the table name anyways. So it can be looked up in any case when no suitable label was found, not just in the case when LLL was used.

Discovered in v9, but true for all later as well.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95716: TCA title with plain string crashes NewRecordControllerClosed2021-10-20

Actions
Actions

Also available in: Atom PDF