Project

General

Profile

Actions

Bug #103494

open

Linkvalidator uses tstamp field directly without checking TCA in recheckLinks

Added by Sybille Peters 8 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Must have
Category:
Linkvalidator
Target version:
-
Start date:
2024-03-27
Due date:
% Done:

0%

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

Description

This should be merged before https://review.typo3.org/c/Packages/TYPO3.CMS/+/83612

TCA should be used to determine which field is relevant for tstamp (and if there is such a field) before using it for a DB query

$GLOBALS['TCA'][$table]['ctrl']['tstamp']

Reproduce

  1. Change configuration to mod.linkvalidator.searchFields.sys_redirect.target
  2. check links (with a broken redirect target)
  3. in the list of broken links, click pencil to edit redirect target field
  4. change value, save and close edit field

Now, exception is thrown.


Related issues 1 (0 open1 closed)

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