Project

General

Profile

Actions

Bug #102065

closed

Invalid TypoScript import causes the complete file to be ignored

Added by Markus Klein 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
TypoScript
Target version:
-
Start date:
2023-09-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using an invalid import within a TypoScript file causes the file to be skipped/ignored entirely.

Example file:

<INCLUDE_TYPOSCRIPT: source="DIR:./Setup/">
<INCLUDE_TYPOSCRIPT: source="DIR:../global/Setup/">

The second import is invalid, but also the first import is ignored.

I would expect to have only the faulty include line to be ignored.
The missing error reporting is documented with #102064.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102064: TypoScript module does not report errorsResolved2023-09-29

Actions
Actions #1

Updated by Markus Klein 7 months ago

  • Related to Bug #102064: TypoScript module does not report errors added
Actions #2

Updated by Markus Klein 7 months ago

  • Status changed from New to Needs Feedback

Debugging shows that it's not ignored, only the path-resolution of `DIR:./Setup/` seems to fail too. It uses the public directory, instead of the location of the current TS file.

Actions #3

Updated by Markus Klein 7 months ago

  • Status changed from Needs Feedback to Accepted
Actions #4

Updated by Markus Klein 7 months ago

  • Assignee set to Markus Klein
Actions #5

Updated by Gerrit Code Review 7 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81298

Actions #6

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81298

Actions #7

Updated by Gerrit Code Review 7 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81298

Actions #8

Updated by Gerrit Code Review 7 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81356

Actions #9

Updated by Markus Klein 7 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF