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 about 2 months ago. Updated 25 days ago.

Status:
Resolved
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 (3 open0 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.linkUnder Review2018-02-09

Actions
Actions #1

Updated by Sybille Peters about 2 months ago

  • Related to Bug #103478: Linkvalidator should check fields with type "file" added
Actions #2

Updated by Sybille Peters about 2 months ago

  • Related to Bug #89182: Linkvalidator should only check relevant fields in table added
Actions #3

Updated by Sybille Peters about 2 months ago

  • Related to Bug #83835: Linkvalidator should check more fields by default, such as sys_file_reference.link added
Actions #4

Updated by Gerrit Code Review about 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83584

Actions #5

Updated by Gerrit Code Review 26 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83584

Actions #6

Updated by Gerrit Code Review 25 days ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83955

Actions #7

Updated by Sybille Peters 25 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF