Review 14.3 Merged

94334[BUGFIX] Avoid exception in suggest wizard for type-less tables

Garvin Hicking CR +2 V +2 Normal +59 −1 updated 06/05/26, 10:34

Commit message

Tables without a ctrl['type'] field like sys_category do not
provide sub schemata in the Schema API, while FormEngine still
hands over the default record type "1" for them. The suggest
wizard ajax controller blindly asks for that sub schema since
its hasSubSchema() guard got lost with #108761, letting any
suggest search on such tables fail with an exception.

The patch restores the guard so the wizard falls back to the
main schema field configuration again, and adds a functional
test covering the suggest search on a type-less table.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 34

  1. Garvin Hicking commented on patch set 1 06/05/26, 08:54

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 06/05/26, 09:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/103021

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 06/05/26, 10:34

  4. Garvin Hicking merged patch set 2 06/05/26, 10:34