Skip to content

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

@rupasix

Description

@rupasix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions