FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
148 stars 214 forks source link

BUG: Typoscript settings are removed in be module when using ExtensionManagementUtility::addTypoScriptSetup #2134

Open rupasix opened 9 months ago

rupasix commented 9 months ago

I have checked that the bug exists in the dev-development branch Yes

I have checked that there are no already open issues or recently closed issues about this bug Yes

Describe the bug We use code in file ext_tables.php of EXT:testext :

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
    '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:testext/Configuration/TypoScript/Backend/setup.typoscript">'
);

and setup.typoscript contains

module.tx_testext {
    settings {
        test = 123
    }
}

Those settings are not available in be module actions when current EXT:flux (93241db6e5d0fcc00fc092b5926052786d5be82f) is installed

To Reproduce Steps to reproduce the behavior:

  1. Create ext with be module,
  2. Use AddTypoScriptSetup in ext_tables.php to add typoscript with module settings
  3. Try to debug $this->settings in action of be module

Expected behavior I want to use my settings in be module