#108658Soft references in sys_refindex are created for all workspaces, but only removed for current workspace
Description
ReferenceIndex creates soft reference entries for all active workspaces, but DataHandler only updates the current workspace when editing records
When running `referenceindex:update`, soft references (typolink_tag, email, url) in RTE fields like `bodytext` are created for all active workspaces, even though the record only exists in the live workspace (t3ver_wsid=0).
When an editor removes a link in the backend (live workspace), only the sys_refindex entry for workspace=0 is removed. The entries for other workspaces remain as orphaned references.
This causes issues when trying to delete files: The file cannot be deleted because the system reports it is still referenced, even though the reference was removed.
1. Have a TYPO3 installation with the workspaces extension enabled
2. Create at least one workspace (e.g., “Draft”)
3. Create a news record
4. Add a link to a file in the bodytext field
5. Run `vendor/bin/typo3 referenceindex:update`
6. Check in filelist the refercences to this file
→ You will see multiple entries
7. Remove the link in the backend (live workspace)
8. Check file in filelist again, still a refercence
9. Try to delete the linked file → Error: “File is still referenced”
now run `vendor/bin/typo3 referenceindex:update` again fixes the problem, but it’s a problem for editors how want to delete files.
Reviews 2
Files 1
History 13
-
Gerrit Code Review pushed patch set 1 for main to change 97143 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-25T14:01:21+00:00" > 10/25/26, 14:01 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97154 <span data-processor="relativetime" data-value="2026-10-25T14:07:30+00:00" > 10/25/26, 14:07 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-30T16:20:14+00:00" > 10/30/26, 16:20 </span>
Applied in changeset commit:fc4b5bff26905f72878bfea429603673ffbec75d.