Project

General

Profile

Actions

Bug #98036

closed

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

Added by Matthias Adrowski almost 2 years ago. Updated over 1 year 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 #1

Updated by Matthias Adrowski almost 2 years ago

New Patch, since the other one is malformed

Actions #2

Updated by Matthias Adrowski almost 2 years ago

  • File deleted (allowManualGroupnameForNEWWizard.patch)
Actions #3

Updated by Christian Kuhn over 1 year ago

  • Related to Bug #95366: Core does not use TCA "groupName" feature added
Actions #4

Updated by Christian Kuhn over 1 year ago

thx. confirmed. will fix.

Actions #5

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

Actions #6

Updated by Gerrit Code Review over 1 year ago

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

Actions #7

Updated by Gerrit Code Review over 1 year ago

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

Actions #8

Updated by Christian Kuhn over 1 year ago

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

Updated by Markus Klein over 1 year ago

  • Precedes Bug #98413: New Record Wizard: System tables are under headline scheduler added
Actions #10

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF