Skip to content
Snippets Groups Projects
Commit 650e1645 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Use matching site in extbase BE modules

Extbase BE modules suffer from the conceptual mistake
of using FE TypoScript for configuration. Modules
not in page context pick the first root template
in the page tree as TS entry point.

The patch changes this awful handling to also use
the attached site object for this page to substitute
site settings used as constants in TS correctly.

Resolves: #102452
Related: #97816
Releases: main, 12.4
Change-Id: I24e1e814cd20fc4999311d4f0068fb51818ad611
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82521


Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 5b5c0f71
Branches
Tags
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