Actions
Bug #96929
closedTCA / TCA overrides with variable leaks
Start date:
2022-02-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
All TCA and TCA overrides files are included without any scoping. This means that variables defined in these files can leak into the following files.
Also all variables defined in ExtensionManagementUtility::buildBaseTcaFromSingleFiles()
exist in TCA and TCA override files and could even be manipulated.
Possible solution: wrap the require
calls for TCA / TCA override files with a closure.
Actions