Issue Bug Closed

#104308Undefined array key "rootLevel" on import or preview

Loek Hilgersom 07/04/24, 13:36 updated 10/15/24, 09:29

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)

Reviews 3

History 26

  1. Gerrit Code Review pushed patch set 1 for main to change 85104 status New Under Review 07/04/24, 14:04

  2. Gerrit Code Review pushed patch set 2 for main to change 85104 07/04/24, 14:38

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 85153 07/08/24, 16:27

  4. Gerrit Code Review pushed patch set 1 for 12.4 to change 85154 07/08/24, 16:27

  5. Loek Hilgersom commented and changed status Under Review Resolved done 0 % 100 % 07/08/24, 16:45

    Applied in changeset commit:3c64d2d9edb042e4258087c27a6f93453121e520.

  6. Benni Mack changed status Resolved Closed 10/15/24, 09:29