#104308Undefined array key "rootLevel" on import or preview
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
-
Gerrit Code Review pushed patch set 1 for main to change 85104 status
NewUnder Review 07/04/24, 14:04 -
Gerrit Code Review pushed patch set 2 for main to change 85104 07/04/24, 14:38
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 85153 07/08/24, 16:27
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 85154 07/08/24, 16:27
-
Loek Hilgersom commented and changed status
Under ReviewResolved done0 %100 % 07/08/24, 16:45 -
Benni Mack changed status
ResolvedClosed 10/15/24, 09:29
Applied in changeset commit:3c64d2d9edb042e4258087c27a6f93453121e520.