[BUGFIX] Import skips files with non-existent target directory 75/45975/2
authorBernhard Kraft <kraftb@think-open.at>
Fri, 15 Jan 2016 13:33:32 +0000 (14:33 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 15 Jan 2016 20:48:32 +0000 (21:48 +0100)
commitd631ea4e8bb004b11c9f8bc32da83c4997e86fc7
tree43ded5cc48ac674668983051e06286338b5cf61c
parent33cced8dc9a4b251c1191aad3be0a1a2bde9c6a7
[BUGFIX] Import skips files with non-existent target directory

When an import is taking place in which sys_file_storage records
get imported any files within this storage will not get imported
if the basePath of the sys_file_storage does not exist.

This patch displays an error message in such cases and prompts
the user to create the missing directory.

Resolves: #68791
Releases: master, 7.6
Change-Id: I7fb0f0cdf9b25b29b0a35781450020a59e0f03ab
Reviewed-on: https://review.typo3.org/45975
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Resources/Private/Templates/ImportExport/Import.html