Project

General

Profile

Actions

Bug #61154

closed

"Migrate all file links of RTE-enabled fields to FAL" fails with "Reference index was probably out of date."

Added by Christoph Ascherl over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2014-08-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Meanwhile I did upgrades from TYPO3 4.7 to 6.2 for three different instances and every time I ran into this problem.
Reason are links in content elements of hidden or (from database point of view: logical) deleted pages where the target (usually the file in fileadmin) does not exist anymore.

cli_dispatch.phpsh lowlevel_refindex -c
does not detect these broken links. So this is a deadlock during migration.

I found this workaround which requires using a SQL client for the mysql database:
1) check if the result of this query matches the list of "Reference index was probably out of date" elements

select * from sys_refindex where softref_key = 'typolink_tag' AND ref_table = '_FILE';

2) If so you can update these records:

update sys_refindex set softref_key = 'typolink' where softref_key = 'typolink_tag' AND ref_table = '_FILE';

Actions

Also available in: Atom PDF