Issue Bug Closed

#105713Site sets setup.typoscript not loaded on Windows 10

Steffen Mächtel 11/27/24, 18:58 updated 12/02/25, 14:31

Description

Currently on Windows 10 operating system, the new Site Sets setup.typoscript is not loaded with TYPO3 13.4.1 Version.

class: TYPO3\CMS\Core\TypoScript\IncludeTree\SysTemplateTreeBuilder
method: handleSetInclude

private function handleSetInclude(IncludeInterface $parentNode, string $path, string $label): void
    {
        echo $path; // 'D:/vhosts/xxx/test-t13.local/vendor/typo3/cms-fluid-styled-content/Configuration/Sets\FluidStyledContent/'
        $path = GeneralUtility::getFileAbsFileName($path);
        echo $path; // ''

Quick Hotfix:

private function handleSetInclude(IncludeInterface $parentNode, string $path, string $label): void
    {
        echo $path; // 'D:/vhosts/xxx/test-t13.local/vendor/typo3/cms-fluid-styled-content/Configuration/Sets\FluidStyledContent/'

// Hotfix with fixWindowsFilePath
$path = GeneralUtility::fixWindowsFilePath($path);
        echo $path; // 'D:/vhosts/xxx/test-t13.local/vendor/typo3/cms-fluid-styled-content/Configuration/Sets/FluidStyledContent/' 

        $path = GeneralUtility::getFileAbsFileName($path);
        echo $path; // 'D:/vhosts/xxx/test-t13.local/vendor/typo3/cms-fluid-styled-content/Configuration/Sets/FluidStyledContent/'

Reviews 4