Review main Merged

89096[BUGFIX] Support sheets and sections in Record API

Dennis Purisevic CR +2 V +2 Hard +867 −47 updated 04/28/25, 20:01

Commit message

The FlexFormSchema now properly supports sections, and RecordFieldTransformation correctly handles sheets.

This enables using the same property path across different
sheets. Property fetching via the Record API now supports
the syntax:

sheetName/property.path

If no sheet name is provided, the following fallback
logic applies:

1. If only one sheet is configured, its name is
   used automatically.
2. If multiple sheets exist and the property path is
   found in exactly one sheet, that sheet’s name is
   selected.

In case no sheet name is given - and the requested
property path exists in multiple sheets, an exception
is thrown.

This improves flexibility and consistency when accessing
FlexForm data through the Record API.

Review

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

Issues 1

Files 10

Review log 1217

  1. Dennis Purisevic uploaded patch set 1 04/13/25, 12:48

  2. core-ci voted on patch set 1 V +1 04/13/25, 12:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77673

  3. Simon Schaufelberger commented on patch set 1 04/14/25, 06:52

    does the style guide already have an example for sections and if not, could you please add one?
  4. Stefan Bürk commented on patch set 1 04/14/25, 20:43

    Reply

    style guide has an example for sections. tx_styleguide_flex -> flex_2
  5. Oli Bartsch uploaded patch set 2 V +1 04/28/25, 12:15

  6. core-ci voted on patch set 2 V -1 04/28/25, 12:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78273

  7. Oli Bartsch uploaded patch set 3 V -1 04/28/25, 12:30

  8. core-ci voted on patch set 3 V +1 04/28/25, 12:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78274

  9. Oli Bartsch uploaded patch set 4 V +1 04/28/25, 13:19

  10. core-ci voted on patch set 4 V +1 04/28/25, 13:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78276

  11. Oli Bartsch updated the commit message in patch set 5 V +1 04/28/25, 14:12

  12. core-ci voted on patch set 5 V +1 04/28/25, 14:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78282

  13. Benni Mack voted on patch set 5 CR +1 V +1 04/28/25, 15:05

  14. Oli Bartsch commented on patch set 5 04/28/25, 15:22

    Reply

    Done
  15. Georg Ringer voted on patch set 5 CR +1 V +1 04/28/25, 19:30

  16. Oli Bartsch voted on patch set 5 CR +2 V +2 04/28/25, 20:01

  17. Oli Bartsch merged patch set 6 04/28/25, 20:01