Project

General

Profile

Actions

Bug #98036

closed

TCA['ctrl']['groupName'] handling can lead to unclear grouping

Added by Matthias Adrowski over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-07-27
Due date:
% Done:

100%

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

Description

Hello,

when building the NewRecordsView, the groupName for a record does get chosen by exploding the TCA table name by "_" and taking the subpart 1. In our case we had an table which resolved to "content", which made the extension tables mix up with some core tables, but renaming the group to the group label to the one given by the extension, which leads to confusion.

While there is the option to use the ['ctrl']['groupName'] to group items by other elements, it is limited to do only exactly this, because the split part will overwrite this setting. The only usable way currently to resolve or avoid such an setup would be to avoid using any name that might already be taken, either by core or even by another extension.

In our instance we solved the Issue with a small patch, which allowed the groupName field to be used to create a new group by giving it another name. I will attach the patch.


Files


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #95366: Core does not use TCA "groupName" featureClosedBenni Mack2021-09-27

Actions
Precedes TYPO3 Core - Bug #98413: New Record Wizard: System tables are under headline schedulerClosedMarkus Klein2022-07-282022-07-28

Actions
Actions

Also available in: Atom PDF