Review main Merged

77013[BUGFIX] Allow relative @import wildcard includes

Christian Kuhn CR +2 V +2 Easy +38 −1 updated 12/10/22, 21:10

Commit message

Scenario:
sys_template record
@import 'EXT:core/Configuration/TypoScript/foo.typoscript'

File EXT:core/Configuration/TypoScript/foo.typoscript:
@import './Setup/*.typoscript'

File EXT:core/Configuration/TypoScript/Setup/bar.typoscript:
page.20 = TEXT
page.20.value = bar.typoscript

Expected output:
"bar.typoscript"

Loading a relative sub-directory include with a wildcard
for files worked in TYPO3 v11 and broke with v12. The patch
adds this again and adds coverage for this rather nasty
scenario.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 4