Bug #83835
Updated by Sybille Peters 5 months ago
Tested (25.03.2024): should just work if added to the searchFields:
<pre>
mod.linkvalidator.serachFields.sys_file_reference = link
</pre>
Since TYPO3 v12, linkvalidator also checks fields if type = "link".
--------
h1. Reproduce
1. Change default page TSconfig for linkvalidator to include sys_file_reference:
<pre>
mod.linkvalidator {
searchFields {
pages = media,url
tt_content = bodytext,header_link,records
sys_file_reference = link
}
...
}
</pre>
2. Create a "text & images" or "text & media", add an image, add a dead (not existing link) in the "Link" field for the image metadata.
!linkval4.png!
3. Restart "Check link", the dead link should now appear in the Reports
h1. Results
Clicking the pen will jump to the edit wizard for sys_file_reference, but you can't change the link there, you need the edit wizard for tt_content.
!linkval1.png!
!linkval2.png!
So, Linkvalidator does not properly handle sys_file_reference records (and probably wasn't intended to because it was developed before FAL).