Review main Merged

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

Christian Kuhn 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
    • Oliver Klee +1
  • Verified V +2 Done
    • Garvin Hicking +2
    • Oliver Klee +1
    • core-ci +1 CI

Issues 2

Files 3

Review log 56

  1. Christian Kuhn uploaded patch set 1 06/04/26, 18:27

  2. core-ci voted on patch set 1 V +1 06/04/26, 18:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/102975

  3. Oliver Klee voted on patch set 1 V +1 06/04/26, 18:46

  4. Oliver Klee voted on patch set 1 CR +1 06/04/26, 18:46

  5. Garvin Hicking voted on patch set 1 CR +2 V +2 06/05/26, 08:54

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