#107375DataHandler->isTableAllowedForThisPage() no longer checks doktype of correct page
Description
This seems to be introduced via https://git.typo3.org/typo3/typo3/-/commit/9490df3 #106382.
The old code fetched the doktype of target page and passed that one down the chain.
The new code uses the doktype of the page record to insert, which seems to be the wrong logic.
- Create a custom page type.
- Prevent pages on the new custom page type.
- Create a page of custom page type.
- Copy the new page.
- Paste the copy onto a normal page.
Expected Behaviour:
The page is inserted, page tree is reloaded
Actual Behaviour:
An error is shown: 1: Attempt to insert record "pages:8854" on a page (34) that can't store record type
Normal pages should allow all new page types. But the system will respond with an error that the page is not allowed.
I suggest to keep the old logic to fetch the doktype from target page.
Reviews 1
Related issues 1
History 35
-
Daniel Siepmann changed description <span data-processor="relativetime" data-value="2025-09-03T05:39:22+00:00" > 09/03/25, 05:39 </span>
-
Daniel Siepmann changed Related to #106382 <span data-processor="relativetime" data-value="2025-09-03T05:40:35+00:00" > 09/03/25, 05:40 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 90550 status
NewUnder Review <span data-processor="relativetime" data-value="2025-09-03T05:42:28+00:00" > 09/03/25, 05:42 </span> -
Garvin Hicking changed Is Regression 1 <span data-processor="relativetime" data-value="2025-09-03T06:08:59+00:00" > 09/03/25, 06:08 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 90550 <span data-processor="relativetime" data-value="2026-04-22T06:51:43+00:00" > 04/22/26, 06:51 </span>