Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rupasix opened this issue Sep 26, 2023 · 0 comments

Comments

@rupasix
Copy link
Contributor

rupasix commented Sep 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant