[FOLLOWUP][BUGFIX] ImageViewHelper should catch exceptions 66/45166/3
authorAndreas Allacher <andreas@allacher.com>
Mon, 7 Dec 2015 09:57:36 +0000 (10:57 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Mon, 7 Dec 2015 15:20:28 +0000 (16:20 +0100)
commitd83379058148479d33be2e1853a8995a56cfad15
tree42b37e8a4299e2726a0e4b0ce4bd00985dd8b15d
parent2882393b0d8f2e9535ffb7b604463008fac016f1
[FOLLOWUP][BUGFIX] ImageViewHelper should catch exceptions

We also need to catch RuntimeException and InvalidArgumentException
InvalidArgumentException might be thrown if a storage does not exist.
RuntimeException if a file is outside a storage.

Change-Id: I994d8e7ef8b515f23ccc01847cefac0202f14b6f
Releases: master, 6.2
Resolves: #71686
Reviewed-on: https://review.typo3.org/45166
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ImageViewHelper.php