Review 13.4 Merged

89215[BUGFIX] Prevent exception in Link Validator for missing fields in subSchema

Stefan Bürk CR +2 V +2 Easy +1 −1 updated 04/24/25, 10:42

Commit message

When a record in a shortcut content element contains
a broken link, the Link Validator backend module
throws an exception when the broken link is identified
in a field, which is not part of the `shortcut` TCA
schema (e.g. field `bodytext` in referenced content
element).

This patch adds a check to ensure the requested field
exists in the subSchema before accessing it.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Stefan Bürk commented on patch set 1 04/24/25, 10:33

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 04/24/25, 10:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78110

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 04/24/25, 10:42

  4. Stefan Bürk merged patch set 2 04/24/25, 10:42