Project

General

Profile

Actions

Bug #105192

closed

Site set TypoScript not loaded in extbase backend module

Added by Torben Hansen about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2024-10-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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().

Actions #1

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

Actions #2

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

Actions #3

Updated by Benjamin Franzke about 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF