[BUGFIX] Catch all errors on adding files of sys_files to export 18/30318/5
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Thu, 22 May 2014 08:32:03 +0000 (10:32 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 5 Mar 2015 19:48:25 +0000 (20:48 +0100)
commit3b86ba556219921a5700217b3c25dedde8d6b0db
treefd4dd62b43287cf2d03d485f4f538040d77f0c0a
parent466bbbbda03042da2181da96e1a4893847008fd9
[BUGFIX] Catch all errors on adding files of sys_files to export

Adding files from sys_file records is not robust enough. For example
sys_file records could exist for already deleted files. In this case a
RuntimeException is thrown, which is not caught currently.

Solution: catch all Exceptions thrown from Resources in
export_addSysFile and report them to the user.

Resolves: #59015
Releases: master, 6.2
Change-Id: If7ce51a2ae756b43dc30d5545b076310972342f4
Reviewed-on: http://review.typo3.org/30318
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Classes/ImportExport.php