Project

General

Profile

Actions

Bug #99399

closed

eid is not working if language listen to / ist disabled

Added by Timo Poppinga over 1 year ago. Updated 7 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-12-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

eid is not working if language listen to / ist disabled

that's because SiteBaseRedirectResolver is before EidHandler

SiteBaseRedirectResolver checks for

// Language is found, and hidden but also not visible to the BE user, this needs to fail
if ($language instanceof SiteLanguage && !$this->isLanguageEnabled($language, $GLOBALS['BE_USER'] ?? null)) {
return GeneralUtility::makeInstance(ErrorController::class)->pageNotFoundAction(
$request,
'Page is not available in the requested language.',
['code' => PageAccessFailureReasons::LANGUAGE_NOT_AVAILABLE]
);
}

and returns an 404


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #101995: Make sure the static-route-resolver handles the requrest before the base-redirect-resolverNewStefan Bürk2023-09-21

Actions
Actions

Also available in: Atom PDF