Project

General

Profile

Bug #96503

Updated by Oliver Hader over 2 years ago

 
 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: 

 <pre> 
 /* 
 @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript' 
 ... 
 */ 
 </pre> 


 <pre> 

 /* 

 ### @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 

 ... 
 </pre> 

 So a circular includes within a block-comment still makes the backend freeze. 

 imports within single line comments are however not executed: 


 <pre> [[ 
 # @import 'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript' 
 </pre> ]] 

 If this is not a bug but a feature we would need to document it better... 

Back