Bug #50786
closedLoading TypoScript files is more picky about doubletick encapsulation
0%
Description
With the change of #34621 , the TypoScript inclusion requires " around the file path. This worked before:
<INCLUDE_TYPOSCRIPT: source=FILE:EXT:fx_library/Configuration/TypoScript/setup.txt>
now, only this works:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fx_library/Configuration/TypoScript/setup.txt">
Imho, this is a pretty nasty regression, it took us an hour to nail our code down to these missing "
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
- Is Regression set to No
would you still fix this?
Updated by Riccardo De Contardi about 9 years ago
yes, it is still open: in both 6.2.15 and 7.5-dev (latest master) the
<INCLUDE_TYPOSCRIPT: source=FILE:fileadmin/setup.txt>
syntax does not work and it is simply ignored.
But on the manual "TypoScript Syntax and In-depth Study", the only syntax reported is the one with the quotes: see https://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/Syntax/Includes/Index.html
maybe it could be added in the documentation that from now on this is the only accepted syntax.
Updated by Mathias Schreiber about 9 years ago
Testing setup:
https://regex101.com/r/qZ7zH7/1
These syntax perversions should be supported. I will take care every once in a while.
Updated by Alexander Opitz over 8 years ago
- Status changed from Needs Feedback to New
So, I would vote to update documentation.
Updated by Benni Mack over 7 years ago
- Status changed from New to Rejected
Sorry, we won't support any nasty perversions on the syntax, it is bad enough already!!!