Project

General

Profile

Actions

Bug #102065

closed

Invalid TypoScript import causes the complete file to be ignored

Added by Markus Klein about 1 year ago. Updated 5 months ago.

Status:
Closed
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 errorsClosed2023-09-29

Actions
Actions #1

Updated by Markus Klein about 1 year ago

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

Updated by Markus Klein about 1 year 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 about 1 year ago

  • Status changed from Needs Feedback to Accepted
Actions #4

Updated by Markus Klein about 1 year ago

  • Assignee set to Markus Klein
Actions #5

Updated by Gerrit Code Review about 1 year 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 about 1 year 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 about 1 year 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 about 1 year 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 about 1 year ago

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

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF