Project

General

Profile

Actions

Bug #96029

closed

ImportExport utility needs to create folder

Added by Robert Vock about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2021-11-18
Due date:
% Done:

100%

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

Description

The ImportExport utility has a method to create a temporary folder: ImportExport::createTemporaryFolderName.

This method uses GeneralUtility::mkdir instead of GeneralUtility::mkdir_deep:
ImportExport.php#L1186

This will lead to errors during the import, if the var/transient folder does not exist. One example of such an error is in Import.php#L541 where a path is used which was generated in Import.php#L518

The fix is easy: Change mkdir to mkdir_deep.

Actions

Also available in: Atom PDF