Review main Merged

88850[BUGFIX] Gracefully check for subschema in StandardPreviewRender

Garvin Hicking CR +2 V +2 Easy +7 −4 updated 03/31/25, 20:49

Commit message

This patch adds a gating to `->hasSubSchema()` for access to
a content element's subschema content preview render resolving
process, introduced with the TCA Schema API in #106388.

It follows the lead of other instances in the core that access
`->getSubSchema()` only after prior `->hasSubSchema()` checks.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Benni Mack +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Benni Mack +1
    • core-ci +1 CI

Issues 2

Files 1

Review log 45

  1. Garvin Hicking uploaded patch set 1 03/31/25, 16:40

  2. core-ci voted on patch set 1 V +1 03/31/25, 16:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76728

  3. Benni Mack voted on patch set 1 CR +1 V +1 03/31/25, 20:47

  4. Georg Ringer voted on patch set 1 CR +2 V +2 03/31/25, 20:49

  5. Georg Ringer merged patch set 2 03/31/25, 20:49