Actions
Bug #88586
closedNo pseudo-site found in root line for workspaces
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2019-06-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
pseudo,site,workspace,edit,rootline
Complexity:
Is Regression:
Sprint Focus:
Description
No pseudo-site found-Exception occurs when trying to edit a page in live-workspace. A different workspace version of the page exists.
Within TYPO3\CMS\Core\Site\PseudoSiteFinder->getSiteByPageId() TYPO3 tries to get the corresponding pseudo site by traversing up the rootline from the currently selected page. The rootline however only contains the page UIDs of the non-workspaced pages, but the method wants to find a pseudo site from the workspaced page UID. The pseudo site is therefore never found and triggers an exception.
Possible solution: If the page has a t3ver_oid field, use that ID to traverse up the rootline.
Actions