Bug #49233

FAL Migration not applied to file links in tt_content bodytext

Added by Nico de Haen about 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Must have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-06-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

It seems that all file links in tt_content bodytext are not migrated to point to the corresponding sys_file record. They are migrated once you open the content element in the backend but not in the Install tool update wizard which cares only for files in tt_content.image.

This means, that all file links that are not yet migrated won't reflect renaming of folders and files. If the path of a file changed the content elements are not accessible anymore due to #37409

You can easily destroy a whole site by just renaming one folder in the file list module...

To make it clear:
After running the update wizard the links still look like this (can be seen only in the database):

<link fileadmin/Downloads2/MyFile.pdf - download "Initiates file download">MyFile</link>

but should look like this:
<link file:12345 - download "Initiates file download">MyFile</link>

I'm not sure if that is a regression or if it was always like this, since I didn't find any code for that in the update wizard.


Related issues

Related to TYPO3 Core - Bug #49212: File links from tt_content bodytext are not/wrong indexedClosed2013-06-18

Actions

Also available in: Atom PDF