Review 13.4 Merged

87559[BUGFIX] Do not fail on link generation in backend context

Oli Bartsch CR +2 V +2 Easy +5 −1 updated 12/18/24, 14:45

Commit message

The `DatabaseRecordLinkBuilder` may be invoked in a backend context
(e.g., through a typolink ViewHelper), where the necessary
`frontend.page.information` attribute is not available.

To prevent null pointer exceptions when accessing page TsConfig,
an early return has been implemented.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 12/18/24, 14:26

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 12/18/24, 14:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/71386

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 12/18/24, 14:45

  4. Oli Bartsch merged patch set 2 12/18/24, 14:45