#105986Fix PHP undefined array key "ctrl" in NewRecordController
Description
When having a TCA specification as in typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/tx_blogexample_domain_model_registryentry.php which is specifically tested to not require a “ctrl” key in TCA (see TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest::tcaWithoutCtrlCreatesAValidSQLStatement) using such a TCA will lead to a PHP error in the NewRecordController:
PHP Warning: Undefined array key "ctrl" in /var/www/html/typo3-core/typo3/sysext/backend/Classes/Controller/NewRecordController.php line 599
Reviews 3
History 36
-
Garvin Hicking changed description 01/24/25, 13:05
-
Gerrit Code Review pushed patch set 1 for main to change 87875 status
NewUnder Review 01/24/25, 13:09 -
Gerrit Code Review pushed patch set 1 for 12.4 to change 87876 01/24/25, 13:10
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87877 01/24/25, 13:10
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % 01/25/25, 08:05 -
Benni Mack changed status
ResolvedClosed 08/12/25, 14:36
Applied in changeset commit:cae183517c0278f33119076a80fcae606c824df5.