Project

General

Profile

Actions

Bug #105713

open

Site sets setup.typoscript not loaded on Windows 10

Added by Steffen Mächtel 10 days ago. Updated 10 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-11-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Windows, SiteSets
Complexity:
easy
Is Regression:
Sprint Focus:

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/'
Actions

Also available in: Atom PDF