Bug #86625

"No pseudo-site found in root line of page" when executing upgrade wizard

Added by Tymoteusz Motylewski 7 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-10-11
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #86195: Localization of page fails because of SiteNotFoundException Under Review 2018-09-07

History

#1 Updated by Tymoteusz Motylewski 7 days ago

  • Related to Bug #86195: Localization of page fails because of SiteNotFoundException added

#2 Updated by Tymoteusz Motylewski 7 days ago

  • Related to Bug #86622: No pseudo-site found in root line of page xxx with Pagetype Folder added

#3 Updated by Tymoteusz Motylewski 7 days ago

  • Related to deleted (Bug #86622: No pseudo-site found in root line of page xxx with Pagetype Folder)

Also available in: Atom PDF