[BUGFIX] Catch all errors on adding files of sys_files to export 66/37566/2
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:53:45 +0000 (20:53 +0100)
commit844dc392d5ea8359d41f6624385ef7e610a993b8
tree32ca0c7107b358ef357cc3f23742fbd17605cf92
parent0ba442bf0143f5ca524be31f511e4c0418850719
[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/37566
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Classes/ImportExport.php