Actions
Bug #87025
closedsysext:seo: XML sitemap shouldn't display subpages of a restricted page
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-11-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Updated by Dima Nozdrin almost 6 years ago
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
Updated by Dima Nozdrin almost 6 years ago
- Related to Bug #16561: Typolink doesn't check if a page in rootline has some access and include subpages is set... added
Updated by Dima Nozdrin almost 6 years ago
- Related to Bug #19297: extendToSubpages not working added
Updated by Richard Haeser almost 6 years ago
- Status changed from New to Closed
This is fixed by https://review.typo3.org/#/c/58942/
Actions