Skip to content

Commit

Permalink
[BUGFIX] Avoid skipping ext_typoscript_* files in TS parser
Browse files Browse the repository at this point in the history
A stupid return vs. continue issue breaks a loop
in SysTemplateTreeBuilder early, which leads to
`ext_typoscript_[setup|constants].typoscript` not
being considered when they have been partially
cached already.

Resolves: #101407
Related: #97816
Releases: main, 12.4
Change-Id: Ia96bfd10a0f2998b1baa1c5a153417b424ba05a2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80220
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
lolli42 committed Jul 30, 2023
1 parent d4b4fc4 commit 7cdc3dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -371,7 +371,7 @@ private function addExtensionStatics(IncludeInterface $parentNode): void
$node = $this->cache->require($identifier);
if ($node) {
$parentNode->addChild($node);
return;
continue;
}
}
$fileContent = file_get_contents($file);
Expand Down

0 comments on commit 7cdc3dd

Please sign in to comment.