Review 13.4 Merged

86862[BUGFIX] Handle empty field array in FormEngine

Oli Bartsch CR +2 V +2 Easy +47 −0 updated 11/04/24, 09:18

Commit message

There might be use cases, a record is requested
while the table and record type combination does
not contain any fields to render (empty showitem).

This happens, e.g. because a record used for
inline elements only does not define any showitem
by default but via corresponding overrideChildTca.
If such record is now requested without the parent
context, e.g. via link in the references table of
the element information view, a corresponding
message is displayed instead of a "undefined
array key" PHP warning.

Review

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

Issues 2

Files 5

Review log 34

  1. Oli Bartsch commented on patch set 1 11/04/24, 09:02

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

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 11/04/24, 09:17

  4. Oli Bartsch merged patch set 2 11/04/24, 09:18