Project

General

Profile

Actions

Bug #39785

closed

FAL: Various bugs when creating the local storage

Added by Steffen Gebert over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2012-08-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_file_repository_storagerepository::findAll() contains this code:

        if (count($storageObjects) === 0) {
            $this->createLocalStorage(
                'fileadmin/ (auto-created)',
                $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'],
                'relative',
                'This is the local fileadmin/ directory. This storage mount has been created automatically by TYPO3.'
            );
            $storageObjects = self::findAll();
        }

In the unit test createNewFileInLocalStorage this ends up in an endless loop.

Actions

Also available in: Atom PDF