#108025Hide child pages in page tree [php_tree_stop] affects the sitemap
Description
The flag ‘Hide child pages in page tree [php_tree_stop]’ in the Behaviour tab affects the XML sitemap
\TYPO3\CMS\Seo\XmlSitemap\PagesXmlSitemapDataProvider::getPages uses \TYPO3\CMS\Core\Domain\Repository\PageRepository::getDescendantPageIdsRecursive to load the page tree. This method in turn uses \TYPO3\CMS\Core\Domain\Repository\PageRepository::getSubpagesRecursive, which stops building the tree if the php_tree_stop flag is set.
According to the description in https://docs.typo3.org/m/typo3/tutorial-editors/12.4/en-us/Pages/PageProperties/Index.html#pages-properties-behaviour, the flag should only affect the backend. (can not find the docs for 13.4 for this flag).
The simple solution should be a backend check in \TYPO3\CMS\Core\Domain\Repository\PageRepository::getSubpagesRecursive, but I cannot assess the further implications.
Reviews 2
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 91789 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-20T21:26:17+00:00" > 11/20/25, 21:26 </span> -
Gerrit Code Review pushed patch set 2 for main to change 91789 <span data-processor="relativetime" data-value="2025-11-20T23:20:33+00:00" > 11/20/25, 23:20 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 91789 <span data-processor="relativetime" data-value="2025-12-16T19:32:57+00:00" > 12/16/25, 19:32 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 92206 <span data-processor="relativetime" data-value="2025-12-22T09:13:34+00:00" > 12/22/25, 09:13 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-12-22T09:15:08+00:00" > 12/22/25, 09:15 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-03-31T09:00:50+00:00" > 03/31/26, 09:00 </span>
Applied in changeset commit:f9dd9280eb7ccf3dd3f3fb850363f07b62bf21e3.