Skip to content
Snippets Groups Projects
Commit 4c5f87c4 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Clone PageLayoutContext for correct language

In the fluid based page module, when in columns mode
and having a L>0 language selected, the context always
contained L=0 as the current site language. Since this
value is used in the fluid templates for data attributes
and similar, it might lead to unintended outcome.

This is now fixed by cloning the context for the currently
selected language before forwarding it to grid creation,
as it's already done in languages mode and for the special
"defLangBinding" view.

Resolves: #95255
Releases: master
Change-Id: I3f6f6213e90123ab74f2b4e04985909986df9534
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71113


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 1ab5841a
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment