Bug #86625
closed"No pseudo-site found in root line of page" when executing upgrade wizard
100%
Description
When executing upgrade wizard in the install tool, I'm getting
"No pseudo-site found in root line of page 161737" error.
Where page "161737" is a translation of some page (sys_language_uid =1)
Is that correct that the wizzard is trying to find site per translated page id ?
I've dig into the code and what is happening is that
PopulatePageSlugs.php->populateSlugs calls
$slugHelper->isUniqueInSite method
then in line ~269 of the SlugHelper there is a foreach loop with
matchByPageId((int)$record['uid']);
and this is a translated uid
Then matchByPageId calls pseudoSiteFinder->getSiteByPageId($pageId, $rootLine); (edited)
and get SiteByPageID throws an exception, as there is no site configuration for translated page.
Seems we're missing some check for translated page?
What is also worth noticing is that \TYPO3\CMS\Core\DataHandling\SlugHelper::resolveParentPageRecord is NOT called.
Updated by Tymoteusz Motylewski over 5 years ago
- Related to Bug #86195: Localization of page fails because of SiteNotFoundException added
Updated by Tymoteusz Motylewski over 5 years ago
- Related to Bug #86622: No pseudo-site found in root line of page xxx with Pagetype Folder added
Updated by Tymoteusz Motylewski over 5 years ago
- Related to deleted (Bug #86622: No pseudo-site found in root line of page xxx with Pagetype Folder)
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58722
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58722
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58722
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58722
Updated by Benni Mack over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 12bf0ed02623e659ebdef38032201fa6eb387da7.