[BUGFIX] Catch FolderDoesNotExist Exception on links/images 70/20570/6
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:28:34 +0000 (17:28 +0200)
commitcfc24d7bdc9cd75e5c6b91e0f86130124436dc90
tree0cbd73a30c529049490a79958fda5b08b63d4814
parent3ae3642ec7dd2354a2023c0173efe1e3980634b7
[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/20570
Reviewed-by: Simon Schick
Tested-by: Simon Schick
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Html/RteHtmlParser.php