Bug #82543
closedINCLUDE_TYPOSCRIPT extensions can not handle double extension
100%
Description
To include TypoScript setup and constants I would like to do something like this
on the setup side:
<INCLUDE_TYPOSCRIPT: source="DIR:./plugin" extensions="setup.typoscript">
and this on the constants side:
<INCLUDE_TYPOSCRIPT: source="DIR:./plugin" extensions="constants.typoscript">
Files in the plugin folder, e.g.:
tx_news.setup.typoscript tx_news.constants.typoscript
Expected behavior:
tx_news.setup.typoscript is included at the setup, tx_news.constants.typoscript is included at the constants.
Current behavior:
Every file with *.typoscript as extension is included in setup and constants.
I haven't checked this in 8.7 yet, but the code of TypoScriptParser::includeDirectory didn't changed, as far as I can overlook.
Updated by Jan Kiesewetter about 7 years ago
Jan Kiesewetter wrote:
Current behavior:
Every file with *.typoscript as extension is included in setup and constants.
Sorry, the current behavior is that NO file is included.
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54443
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54443
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54458
Updated by Anonymous about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9ddb3cb19a7ea4b5c3ab2b411c0f936fcf777842.
Updated by Gerrit Code Review about 7 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54460
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54465
Updated by Benni Mack about 7 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1f04eb5cdb7efb198c37bb11e9b7285b8ba673bc.