Project

General

Profile

Bug #100121

Updated by Tymoteusz Motylewski about 1 year ago

Go to pageproperties, insert TSconfig with wrong path (correct extension, but typo in the folder name). 

 <pre> 
 @import 'EXT:sitepackage/Configuration/TSConfig/Mod/NonExistingFolder/*.tsconfig' 
 </pre> 

 go to "PageTSConfig" module -> "Included PageTsConfig" 
 An error will be thrown: 
 <pre> 
 Core: Error handler (BE): PHP Warning: scandir(/var/www/html/typo3conf/ext/sitepackage/Configuration/TSConfig/Mod/NonExistingFolder/): Failed to open directory: No such file or directory in /var/www/html/typo3/sysext/core/Classes/TypoScript/IncludeTree/TreeFromLineStreamBuilder.php line 315 
 </pre> 

 Expected behaviour: 
 Warning is not thrown. 
 Nice to have -> some notice is shown in PageTSConfig module, or logged into TYPO3 log. 

 Most probably the same problem affects TypoScript. 

Back