Task #49319
closedEpic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54272: As an Editor I expect FAL to work with the RTE
Error finding folder for rte links preparing
100%
Description
I generated many tt_content objects with an script to migrate an old "Contenido"-CMS Page to TYPO3 6.1.
During editing the content to make it clear I noticed many errors while TYPO3 CMS tried to get images, and links passing to the <link >
-Tag.
If the Object not found in the given Location it throws an uncaught Exception:
Folder cms/upload/file.ext does not exist.
or
Folder cms/front_content.php?id=123 does not exist.
of Course it doesn't... I created the Folder an uploaded any of the files from the old page. It worked for any image. But now, at saving the RTE Data it makes any Link from <a href="cms/frontend_content.php...
to <link cms/frontend_content.php... >
and then it throws the Exception described above at reopening the Content Element.
In the ResourceFactory I added an try and catch operation to prevent this error.
Because I think this could also happened when ssers entered an wrong link I would post my Patch for all here.
<small>sorry for my bad english ;)</small>
Files