Actions
Bug #86390
closednull != NullSite
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2018-09-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
While calling backend login (/typo3) I get following:
Return value of TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getSite() must be an instance of TYPO3\CMS\Core\Site\Entity\Site or null, instance of TYPO3\CMS\Core\Site\Entity\NullSite returned
TYPO3: 9.4.0
TypoScript
// First foreign language: [site("languageId") == 1] config { language = en locale_all = en_GB.utf8 sys_language_uid = 1 } [global] // Second foreign language: [site("languageId") == 2] config { language = fr locale_all = fr_FR.utf8 sys_language_uid = 2 } [global]
BTW: Using "sites" this TypoScript is a bit stupid ... and the correct condition is [siteLanguage("languageId") == 1]...[end]
Updated by Alexander Opitz about 6 years ago
- Description updated (diff)
- Is Regression set to Yes
Updated by Gerrit Code Review about 6 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/58403
Updated by Georg Ringer about 6 years ago
- Category changed from Backend API to Site Handling, Site Sets & Routing
Updated by Tymoteusz Motylewski about 6 years ago
The code in the patch looks valid, but I can't reproduce the issue on current master. any hints?
Updated by Georg Ringer about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ab535bcf51021761635a07bb4be109471b4dc974.
Actions