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 almost 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 #1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71640

Actions #2

Updated by Oliver Bartsch over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Oliver Hader over 2 years ago

  • Related to Bug #95716: TCA title with plain string crashes NewRecordController added
Actions #4

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF