#61861Frontend throws exception on missing image
Description
With TYPO3 6.2.3 I currently experience the quite annoying issue that whenever there is an image that is referenced by a viewhelper or any other method that uses the TYPO3 API, the absence of said image leads to Exceptions being thrown in the frontend.
I feel that this behaviour is as annyoing as it is dangerous, since it poses the risk of killing off a complete website with a simple editor’s mistake.
Although I understand that there is a need for the handling of a situation like this, I think that the Exception should only be thrown if a file is missing which is not located either in “fileadmin” or “uploads” – both of which are more or less user created content.
The exception in question is 1314516809, along with 1319455097
A possible solution might be as simple as adding && !strpos($path, 'fileadmin') && !strpos($path, 'uploads') to the respective conditions to allow for user generated images to be missing.
Possibly, some kind of error message should be put out, but an Exception seems to much.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.