Issue Bug Closed

#96029ImportExport utility needs to create folder

Robert Vock 11/18/21, 13:15 updated 10/04/22, 14:13

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.

Reviews 2