Actions
Bug #92733
closedrebuildSlugsForSlugChange fails when changing slug of a localized root page
Status:
Closed
Priority:
Should have
Assignee:
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-10-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Changing a slug of a site with L>0 and pid=0 throws a SiteNotFoundException
on save.
That's because rebuildSlugsForSlugChange
calls SiteFinder::getSiteByPageId() with the pageId of the localized page. This page however has pid=0 set.
Therefore, it's not possible find any site configuration, because they are always mapped to the uid of the default page which we can not determine in this case.
Reproduce: Change the slug field of a localized root page in the page properties and try to save the page record.
Actions