[FOLLOWUP][BUGFIX] ImageViewHelper should catch exceptions 70/45170/3
authorAndreas Allacher <andreas@allacher.com>
Mon, 7 Dec 2015 09:57:36 +0000 (10:57 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 8 Dec 2015 05:23:07 +0000 (06:23 +0100)
commit519a461495f4c3c2d53688a9ad81d10d2cd87c79
tree92c8626f07ff60dbf7617fe380ff4cf5e19c1f35
parent83e0ef9f3f16f1e0866d8f5954e72b886fe9c57e
[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/45170
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ImageViewHelper.php