92227[FEATURE] TCA option allowedRecordTypes for Page Types
Commit message
Review
-
Code review CR +2 Done
- Benni Mack +2
- Simon Schaufelberger +1
-
Verified V +2 Done
- Benni Mack +2
- Simon Schaufelberger +1
- core-ci +1 CI
Issues 1
Files 10
- typo3/sysext/core/Classes/Configuration/Tca/TcaPreparation.php+20 −0
- typo3/sysext/core/Classes/DataHandling/DataHandler.php+6 −8
- typo3/sysext/core/Classes/DataHandling/PageDoktypeRegistry.php+61 −61
- typo3/sysext/core/Configuration/TCA/pages.php6+6 −1
- typo3/sysext/core/Documentation/Changelog/14.2/Deprecation-108557-TCAOptionAllowedRecordTypesForPageTypes.rst2new+74 −0
- typo3/sysext/core/Documentation/Changelog/14.2/Feature-108557-TCAOptionAllowedRecordTypesForPageTypes.rstnew+43 −0
- typo3/sysext/core/Documentation/Changelog/14.2/Important-108557-DropPageDoktypeRegistryOnlyAllowedTablesOption.rstnew+47 −0
- typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SwitchDoktypeTest.php+43 −4
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php+14 −0
- typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php+2 −3
Review log 2333
Show 68 earlier messages
-
Nikita Hovratov uploaded patch set 1 12/25/25, 02:03
-
core-ci voted on patch set 1 V -1 12/25/25, 02:25 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92671
-
Nikita Hovratov uploaded patch set 2
V -112/25/25, 03:05 -
core-ci voted on patch set 2 V +1 12/25/25, 03:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92673
-
Soren Malling commented on patch set 2 12/26/25, 18:23
I agree with the responsibility being moved to TCA - but I see the concept described in this change to be at the wrong placepages.php:61I suggest moving this to the 'types'. configuration similar to `creationOptions` https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/14.0/Feature-99459-RespectRecordTypeWhileCreatingNewRecords.html to keep type specific settings where relevant. And easily overriablepages.php:681This comment is targeted towards "sysfolder" and not "BE_USER_SECTION" that is set here -
Nikita Hovratov commented on patch set 2 12/26/25, 21:22
Reply
Can you elaborate?pages.php:61ReplyDefaults are not bound to a specific type, but serve as fallback if nothing else is defined. -
Soren Malling commented on patch set 2 12/27/25, 10:53
Reply
Me misunderstandig the UI here - was targeted my comment regarding "pages.php"pages.php:61ReplyWould we ever end up in a situation, where no record types is allowed when installing TYPO3 from scratch? Only if changes are, would it be the case. -
Soren Malling wrote 01/12/26, 15:02
Removed cc Soren Malling.
-
Nikita Hovratov uploaded patch set 3
V +101/17/26, 01:44 -
core-ci voted on patch set 3 V -1 01/17/26, 01:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93653
-
Nikita Hovratov uploaded patch set 4
V -101/17/26, 02:43 -
Nikita Hovratov commented on patch set 4 01/17/26, 02:45
pages.php:61ReplyYes, you are right. It could happen, as TCA is mutable. I moved the "hard" defaults back to the method directly.pages.php:681ReplyFixed. -
core-ci voted on patch set 4 V +1 01/17/26, 02:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93655
-
Nikita Hovratov uploaded patch set 5
V +101/17/26, 09:30 -
core-ci voted on patch set 5 V +1 01/17/26, 09:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93674
-
Benni Mack commented on patch set 6
V +101/20/26, 15:37Published edit on patch set 5. -
core-ci voted on patch set 6 V -1 01/20/26, 15:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93873
-
Benni Mack rebased onto patch set 7
V -101/21/26, 08:52 -
core-ci voted on patch set 7 V +1 01/21/26, 09:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93922
-
Oliver Hader commented on patch set 7 01/21/26, 09:27
Important-108557-PageDokTypeRegistryOnlyAllowedTables.rst:6e.g. "Drop PDTR onlyAllowedTables option" -
Nikita Hovratov uploaded patch set 8
V +101/21/26, 13:37 -
Nikita Hovratov commented on patch set 8 01/21/26, 13:37
Important-108557-PageDokTypeRegistryOnlyAllowedTables.rst:6ReplyDone -
core-ci voted on patch set 8 V +1 01/21/26, 13:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93949
-
Benni Mack uploaded patch set 9
V +101/21/26, 21:02 -
Benni Mack uploaded patch set 10 01/21/26, 21:05
-
core-ci voted on patch set 9 V +1 01/21/26, 21:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93975
-
core-ci voted on patch set 10 V +1 01/21/26, 21:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93976
-
Benni Mack voted on patch set 10 CR +1 V +1 01/21/26, 21:26
-
Simon Schaufelberger commented on patch set 10 01/21/26, 21:35
Deprecation-108557-TCAOptionAllowedRecordTypesForPageTypes.rst:61before 116 was an integer, now it is a string. is string required here? why is the page type suddenly a string? This information is important for me when I'm writing a rector rule. -
Benni Mack commented on patch set 10 01/21/26, 21:54
Deprecation-108557-TCAOptionAllowedRecordTypesForPageTypes.rst:61ReplyThe existing types in pages.php are all strings, I kept it that way. -
Simon Schaufelberger voted on patch set 10 CR +1 V +1 01/22/26, 08:36
-
Benni Mack voted on patch set 10 CR +2 V +2 01/22/26, 08:50
-
Benni Mack merged patch set 11 01/22/26, 08:51