[BUGFIX] Import skips files with non-existent target directory 40/45940/8
authorBernhard Kraft <kraftb@think-open.at>
Fri, 15 Jan 2016 13:33:32 +0000 (14:33 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 15 Jan 2016 17:29:03 +0000 (18:29 +0100)
commit0b8a0b272bf85fbaf0c1df38ab69e629300df99e
treee61e0ccb8dddfa0c26c6d8342566fd1e4458b845
parente6818a676246fba5e4f4e1c2322d7988ef991baa
[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/45940
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/Import.php
typo3/sysext/impexp/Resources/Private/Templates/ImportExport/Import.html