[BUGFIX] Catch all errors in EM ViewHelper
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 6 Dec 2012 15:12:13 +0000 (16:12 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 7 Dec 2012 06:45:07 +0000 (07:45 +0100)
commit03f40e4d497c0667ae51ff2721fb216ad8c148d0
tree5844242130b6db9c80f3b924a877b9bc67b34b5d
parent6ebb2793813035cf6da288e1fe8b05e152784c67
[BUGFIX] Catch all errors in EM ViewHelper

Catching all errors which can happen during image generation
to avoid a non caught exception for users.

Problem is especially the Exception "File has been deleted"
which happens at some sites when having empty
typo3temp/_processed_/ directory and empty sys_file DB table.

Change-Id: I5f4e9ce520c828c222f91a2a816263cd433c5c60
Fixes: #43484
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16993
Reviewed-by: Mattias Nilsson
Tested-by: Wolfgang Freund
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/extensionmanager/Classes/ViewHelpers/ImageViewHelper.php