Actions
Bug #90932
closedPseudoSiteTcaDisplayCondition always checks l10n_parent
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-04-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In the DisplayCondition, that is used to disable the slug field when editing a PseudoSite (https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/core/Classes/Compatibility/PseudoSiteTcaDisplayCondition.php) in line 65, the l10n_parent of a page is used as uid for the SiteMatcher, even if l10n_parent and sys_language_uid are both 0.
Therefore, if both of those fields are zero, the condition thinks its a new page and checks the parent page. Because of that, the slug field can wrongfully be hidden for some pages
Actions