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 #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72236

Actions #2

Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72300

Actions #3

Updated by Georg Ringer almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF