[BUGFIX] Catch FolderDoesNotExist Exception on links/images 42/21042/3
authorAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 7 May 2013 08:25:06 +0000 (10:25 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Sat, 25 May 2013 15:39:58 +0000 (17:39 +0200)
commitcd3fb13003b8f3eeb6a0566e857a39ac016b1cd2
tree03dd0223458909b17f25e0b708af2be2f7d09080
parent9de98c622882b4ebf6f08d554a1b455b183b6641
[BUGFIX] Catch FolderDoesNotExist Exception on links/images

If you have RTE content which have false links/images to files, we
get a FolderDoesNotExistException (FileDoesNotExistException in 6.0).
This should be catched.

Reproduce
* Create content element text
* In RTE change to text mode
* Add <img src="nofile" /> for image
or
* Add <a href="nowhere">link</a> for link
* save

Resolves: #46785
Releases: 6.2, 6.1, 6.0
Change-Id: I7b959825e8e36dc5b1941c9fa411afa321a594fb
Reviewed-on: https://review.typo3.org/21042
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Html/RteHtmlParser.php