#108746files have no reference even if they are used in a file collection (with folder)
Description
This is an issue which also existed in previous TYPO3 versions and and editor ran into the problem recently and maybe something can be done about it.
It’s about the file deletion from
Steps to reproduce:
1. Upload a file in the file list module
2. On a page create a file collection (Dateisammlung) element with
Type: Speicher von Ordner and select the folder with the file
3. Create a Dateilink element and add the file collection to it
4. You will now see all the files from the folder in the frontend, so they are used. But, the files itself have no reference indication, that they are being used.
For an editor this is complicated because there will be no warning when deleting the file from the system. No reference usually means that the files are unused and can be deleted but in this case it would be wrong. The files are still in use.
Even in the info modal, it is not apparent that the file is being used in a content element.
I think the problem is, that the files are referenced via the folder in the file collection. So either that as to be checked as well and taken into consideration or another column “usage in file collection” can be added?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 3
History 4
-
Garvin Hicking commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2026-01-23T22:38:04+00:00" > 01/23/26, 22:38 </span>Yey this is sadly not trivial. Refs are all gathered from a list that would need to be updated anytime files are added/removed to a referenced folder.
We would then also need a migration wizard to retroactively fill this in.
A problem is that a folder collection is internally not a reference to files, and adding that to refindex creation steps would need to get a special treatment. Which means the refindex recreation also needs an implementation for it.
But definitely worth to be addressed, especially because our refindex gets more important.
-
Georg Ringer changed Duplicates #99548 <span data-processor="relativetime" data-value="2026-02-06T12:46:35+00:00" > 02/06/26, 12:46 </span>
-
Georg Ringer commented and changed status
AcceptedClosed <span data-processor="relativetime" data-value="2026-02-06T12:49:12+00:00" > 02/06/26, 12:49 </span>closing as duplicate of #99548
Correction, some text was missing:
It’s about the file deletion from the BE filelist module. The reference is missing for files, which are used via the filecollection element.