Issue Bug Closed

#103494Linkvalidator uses tstamp field directly without checking TCA in recheckLinks

Sybille Peters 03/27/24, 17:18 updated 12/06/24, 14:50

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.