Project

General

Profile

Actions

Task #103477

closed

Documentation for Link Validator searchFields says it is only possible to check fields with a defined "softref"

Added by Sybille Peters 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Category:
Linkvalidator
Target version:
-
Start date:
2024-03-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

This is no longer true, Link Validator also checks fields if TCA is configured with "type" => "link".

Currently, LinkValidator can only detect links for fields having at least one softref set in their TCA configuration.

https://docs.typo3.org/c/typo3/cms-linkvalidator/main/en-us/Configuration/Index.html#searchfields-key

LinkAnalyzer.php:

if (($conf['type'] ?? '') === 'link' && empty($conf['softref'])) {
    $conf['softref'] = 'typolink';
}

patch can be backported up to v12.


Related issues 3 (2 open1 closed)

Related to TYPO3 Core - Bug #103478: Linkvalidator should check fields with type "file"New2024-03-25

Actions
Related to TYPO3 Core - Bug #89182: Linkvalidator should only check relevant fields in tableUnder Review2019-09-16

Actions
Related to TYPO3 Core - Bug #83835: Linkvalidator should check more fields by default, such as sys_file_reference.linkClosed2018-02-09

Actions
Actions

Also available in: Atom PDF