Issue Task Closed

#49319Error finding folder for rte links preparing

René Pflamm 06/21/13, 16:50 updated 02/15/14, 18:43

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.

sorry for my bad english ;)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.