Bug #104308
closedUndefined array key "rootLevel" on import or preview
100%
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)
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
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
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
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
Updated by Loek Hilgersom 5 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3c64d2d9edb042e4258087c27a6f93453121e520.