Task #49319
Epic #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
Status: | Closed | Start date: | 2013-06-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Stanislas Rolland | % Done: | 100% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | 0.50 hour | |
Target version: | - | Estimated time: | 0.50 hour | |
TYPO3 Version: | 6.1 | Complexity: | ||
PHP Version: | 5.3 | Sprint Focus: |
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>
History
#1 Updated by Chris topher about 2 years ago
- Category set to File Abstraction Layer (FAL)
#2 Updated by Steffen Ritter over 1 year ago
- Parent task set to #54272
- Is Regression set to No
#3 Updated by Stanislas Rolland over 1 year ago
- Estimated time set to 1.00
#4 Updated by Stanislas Rolland over 1 year ago
- Assigned To set to Stanislas Rolland
#5 Updated by Stanislas Rolland over 1 year ago
I am unable to reproduce this issue with current master.
#6 Updated by Stanislas Rolland over 1 year ago
- Status changed from New to Needs Feedback
#7 Updated by Stanislas Rolland over 1 year ago
- Estimated time changed from 1.00 to 0.50
#8 Updated by Stanislas Rolland over 1 year ago
- % Done changed from 0 to 100
#9 Updated by Steffen Ritter over 1 year ago
- Status changed from Needs Feedback to Closed
I think this one can be closed,
a, Stan cant reproduce
b, if the author is linking to files the migration is wrong should have bin file:0:/cms/ ...