Bug #102064
closed
TypoScript module does not report errors
Added by Markus Klein about 1 year ago.
Updated 5 months ago.
Description
Using an invalid import in TS does not cause any integrator feedback.
I would expect that either "Active TypoScript" or "Included TypoScript" would warn me about invalid TS.
Example of invalid import (path traversal):
<INCLUDE_TYPOSCRIPT: source="DIR:../global/Setup/">
- Related to Bug #94695: Template Analyzer stoped Highlighting syntax errors added
- Related to Bug #102065: Invalid TypoScript import causes the complete file to be ignored added
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/TypoScript/IncludeTree/TreeFromLineStreamBuilder.php#L437
should probably trigger the error
IncludeTreeSyntaxScannerVisitor :) See #100218. I'll try to implement something.
- Status changed from New to Under Review
- Related to Task #102102: Refactor TS IncludeTree Import detail added
- Related to Task #102103: Refactor TS IncludeTree condition detail added
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Related to Bug #102191: Missing error messages for failed imports in TypoScript module added
- Status changed from Resolved to Closed
Also available in: Atom
PDF