Bug #105192
closedSite set TypoScript not loaded in extbase backend module
100%
Description
When you have an extension, which includes TypoScript (settings) for a plugin and a backend module, the TypoScript typically consists of a plugin.tx_myextension
part for the plugin and a module.tx_extbaseupload
part for the backend module.
Example:
plugin.tx_myextension { settings { foo = bar } } module.tx_myextension { settings < plugin.tx_myextension.settings }
When the TypoScript of an extension is added via the TypoScript template, both the frontend plugin and the backend module can access configured TypoScript settings. When using extbase, this is usually done by accessing $this->settings
in a controller.
When the TypoScript of an extension is added via a site set, only the frontend plugin can access the TypoScript. For the backend module, $this->settings
is an empty array.
It seems, that BackendConfigurationManager
is not aware of the site set TypoScript include and does not resolve it in getTypoScriptSetup()
.
Updated by Gerrit Code Review about 2 months ago
- Status changed from New to Under Review
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86413
Updated by Gerrit Code Review about 2 months ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86413
Updated by Benjamin Franzke about 2 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b69837a3e4472b68a2caf368a632216c230ae914.