#109874enableDirectRecordTypeCreation is ignored for pages table (doktype) in TYPO3 v14
Description
Description
The TCA option
['creationOptions']['enableDirectRecordTypeCreation']
does not work for the pages table in TYPO3 v14.
According to the documentation and changelog, setting:
$GLOBALS['TCA']['pages']['types'][$doktype]['creationOptions']['enableDirectRecordTypeCreation'] = false;
should prevent the corresponding page type (doktype) from appearing in the “Create new record/page” wizard.
However, the page type is still displayed and can still be created.
The issue seems to be caused by the special handling of the pages table inside NewRecordController, where page creation uses dedicated logic instead of the generic TCA type handling used for other tables.
As a result, enableDirectRecordTypeCreation works for regular records but is ignored for pages.doktype .
Expected behavior
Page types with:
['creationOptions']['enableDirectRecordTypeCreation'] = false
should not appear in the page creation wizard.
Actual behavior
The page type still appears in the wizard and can be created.
Steps to reproduce
Configure a page type:
$GLOBALS['TCA']['pages']['types'][(string)PageRepository::DOKTYPE_SHORTCUT]['creationOptions']['enableDirectRecordTypeCreation'] = false;
Clear caches and open the “Create new page” wizard.
The page type is still visible.
Related documentation
TYPO3 changelog:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/14.0/Feature-99459-RespectRecordTypeWhileCreatingNewRecords.html
Reviews 2
History 14
-
Gerrit Code Review pushed patch set 1 for main to change 96017 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-23T19:00:01+00:00" > 09/23/26, 19:00 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 96209 <span data-processor="relativetime" data-value="2026-09-30T08:47:44+00:00" > 09/30/26, 08:47 </span>
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 96209 <span data-processor="relativetime" data-value="2026-09-30T09:05:51+00:00" > 09/30/26, 09:05 </span>
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-30T09:25:12+00:00" > 09/30/26, 09:25 </span>
Applied in changeset commit:ea5c81ec65c00c89f7f23435744c1380914fdaa0.