Project

General

Profile

Actions

Bug #102841

closed

Array to string conversion for list_type itemGroups "header"

Added by Oliver Bartsch 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
-
Start date:
2024-01-15
Due date:
% Done:

100%

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

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #102826: registerPlugin can not handle SelectItems API from v12ClosedBenni Mack2024-01-12

Actions
Has duplicate TYPO3 Core - Bug #102842: PHP Warning: Array to string conversion when group id does not exist for pluginClosed2024-01-15

Actions
Actions #1

Updated by Oliver Bartsch 3 months ago

  • TYPO3 Version changed from 13 to 12
Actions #2

Updated by Gerrit Code Review 3 months 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/+/82462

Actions #3

Updated by Gerrit Code Review 3 months 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/+/82462

Actions #4

Updated by Gerrit Code Review 3 months ago

Patch set 3 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/+/82462

Actions #5

Updated by Nikita Hovratov 3 months ago

  • Has duplicate Bug #102842: PHP Warning: Array to string conversion when group id does not exist for plugin added
Actions #6

Updated by Nikita Hovratov 3 months ago

  • Related to Bug #102826: registerPlugin can not handle SelectItems API from v12 added
Actions #7

Updated by Gerrit Code Review 3 months ago

Patch set 4 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/+/82462

Actions #8

Updated by Gerrit Code Review 3 months ago

Patch set 5 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/+/82462

Actions #9

Updated by Gerrit Code Review 3 months ago

Patch set 6 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/+/82462

Actions #10

Updated by Gerrit Code Review 3 months ago

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

Actions #11

Updated by Oliver Bartsch 3 months ago

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

Updated by Daniel Ostmann 3 months ago

There is a little bug left in your if condition in line 1003 in ExtensionManagementUtility:

if ($type === 'list_type' && !isset($GLOBALS['TCA']['tt_content']['columns'][$type]['itemGroups'][$selectItem->getGroup()])) {

The sub array "config" is missing:

if ($type === 'list_type' && !isset($GLOBALS['TCA']['tt_content']['columns'][$type] *['config']* ['itemGroups'][$selectItem->getGroup()])) {
Actions #13

Updated by Oliver Bartsch 3 months ago

  • Has duplicate Bug #103012: regiserPlugin breaks tca select item group added
Actions #14

Updated by Oliver Bartsch 3 months ago

  • Has duplicate deleted (Bug #103012: regiserPlugin breaks tca select item group)
Actions #15

Updated by Nikita Hovratov 3 months ago

Daniel Ostmann wrote in #note-12:

There is a little bug left in your if condition in line 1003 in ExtensionManagementUtility:

[...]

The sub array "config" is missing:

[...]

I think you've looked at the wrong change side. This is how it was before but was fixed with this patch.

This is stated in the commit message:

This does now properly work by using the
correct array access in the if clause

Actions

Also available in: Atom PDF