Project

General

Profile

Actions

Bug #104308

closed

Undefined array key "rootLevel" on import or preview

Added by Loek Hilgersom 5 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
Start date:
2024-07-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

Import or import-preview throws an exception when you have an extension installed that does not have [ctrl][rootLevel] set in TCA (thus the extension relies on the default value 0 for that table).

PHP Warning: Undefined array key "rootLevel" in vendor/typo3/cms-impexp/Classes/ImportExport.php line 428

It doesn't matter if the import contains any records of that table, the error occurs when the extension is installed. Same problem exists for TYPO3 v12 (line 556) and v11 (line 555)

Actions #1

Updated by Gerrit Code Review 5 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/+/85104

Actions #2

Updated by Gerrit Code Review 5 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/+/85104

Actions #3

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

Actions #4

Updated by Gerrit Code Review 5 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/+/85154

Actions #5

Updated by Loek Hilgersom 5 months ago

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

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF