Bug #87025
closed
sysext:seo: XML sitemap shouldn't display subpages of a restricted page
Added by Dima Nozdrin almost 6 years ago.
Updated almost 6 years ago.
Description
Pages that are restricted for fe_users are not displayed in the XML sitemap.
But when the checkbox extendToSubpages is checked all subpages are displayed in the XML sitemap.
The issue goes back to the
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::typoLink()
that builds urls with the use of
\TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::resolvePage()
that uses
\TYPO3\CMS\Frontend\Page\PageRepository::getPage()
that doesn't respect 'extendToSubpages' and 'fe_group' values of parent pages.
Either getPage() method should be fixed or restricted pages should be filtered in
\TYPO3\CMS\Seo\XmlSitemap\PagesXmlSitemapDataProvider
that seems to be more preferable
- Related to Bug #16561: Typolink doesn't check if a page in rootline has some access and include subpages is set... added
- Related to Bug #19297: extendToSubpages not working added
- Status changed from New to Closed
Also available in: Atom
PDF