Project

General

Profile

Actions

Bug #86712

closed

config.sys_language_overlay has no effect

Added by Philipp Seiler over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-10-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
localization,language,translation,config,query
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Hi,
the Typoscript setting config.sys_language_overlay seems to have no effect anymore with the new Context and LanguageAspect.

Even though LanguageAspect has a separate constructor parameter for setting the overlay type, it is actually never called with that parameter. Therefore always the fallback value of includeFloating is used. When setting the overlay mode for queries in repositories manually, the overlay works as intended.

There even is a LanguageAspectFactory which would take the Typoscript configuration into account, but that class is only used in the FrontendController.

Regard,
Philipp


Files

RequestMiddlewares.php (597 Bytes) RequestMiddlewares.php Sebastian Mazza, 2018-12-14 00:38
LanguageOverlayFixer.php (2.25 KB) LanguageOverlayFixer.php Sebastian Mazza, 2018-12-14 00:39

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #86595: No Language FallbackClosedAnja Leichsenring2018-10-08

Actions
Related to TYPO3 Core - Bug #88367: Improve option names of "Fallback Type" in the sites configurationNew2019-05-16

Actions
Actions

Also available in: Atom PDF