Actions
Bug #96503
closedCommented out TypoScript imports still resolved.
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2022-01-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have a bunch of imports in my setup.typoscript that for some reason mess up my system and made the backend freeze due to a circular include.
It turns out that an import within a block-comment is still executed:
/* @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript' ... */
/* ### @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript' begin ### # Include setup ### <INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/Helper/ContentElement.typoscript"> BEGIN: # Default configuration for content elements which are using FLUIDTEMPLATE directly lib.contentElement > lib.contentElement = FLUIDTEMPLATE ...
So a circular includes within a block-comment still makes the backend freeze.
imports within single line comments are however not executed:
# @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript'
If this is not a bug but a feature we would need to document it better...
Actions