Issue Bug Rejected

#99399eid is not working if language listen to / ist disabled

Timo Poppinga 12/20/22, 18:35 updated 10/20/23, 11:57

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.