Bug #48998
closedFAL files get reindexed in storage null when used with tt_content
0%
Description
As described in the fixed bug 40669, the FAL files are reindexed in storage 0 again when a page is shown.
http://forge.typo3.org/issues/40669#change-168691
E.g. one image indexed in storage 1 (fileadmin) as
/test/test.jpg
and as soon as it is added to a tt_content and previewed in the frontend
/fileadmin/test/test.jpg is also added to the sys_file storage (with storage 0) and not referenced in sys_file_reference.
The bug breaks replication all the time (if the page was not previewed on the backend server first) and of course bloats the database with nearly twice the amount of sys_file entries than needed.
Tested with Typo3 6.1.1, and may be a follow up since the bug was fixed that prevented the adding of processed files to the sys_file table.