Review 14.3 Merged

97494[BUGFIX] Resolve empty FlexForm sections to an empty array

Benni Mack CR +2 V +2 Easy +49 −1 updated 11/10/26, 06:43

Commit message

When all elements of a FlexForm section are removed, the section is
stored as an empty "el" node. FlexFormTools resolved such a section
to an empty string instead of an empty array, both in
convertFlexFormContentToArray() and in
convertFlexFormContentToSheetsArray(). Code iterating or counting the
elements, such as Extbase plugin settings, the FlexFormProcessor or
the Record API, had to check for a string first.

Empty sections are now resolved to an empty array, like sections
with elements are resolved to an array of them.

Review

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

Issues 1

Files 2

Review log 46

  1. Benni Mack commented on patch set 1 11/10/26, 06:01

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 11/10/26, 06:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113833

  3. Benni Mack commented on patch set 2 V -1 11/10/26, 06:24

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V +1 11/10/26, 06:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113838

  5. Benni Mack voted on patch set 2 CR +2 V +2 11/10/26, 06:43

  6. Benni Mack merged patch set 3 11/10/26, 06:43