Review main Merged

95850[FEATURE] Type aware field mapping for reactions

Oli Bartsch CR +2 V +2 Nightmare +2850 −40 updated 09/17/26, 21:14

Commit message

The create record reaction offered only fields holding free text, and
every one of them as a plain text box, so the fields deciding what a
record is could not be mapped at all.

Every mappable field now renders the control its own table uses: a date
comes from a calendar, a colour from a picker, a link from the link
browser, a select from the items that table declares. Each row is set
to one of three things: left to the table default, fixed to a value
picked in that control, or taken from the payload as a placeholder.

Relations and selects submitting a list stay out, since a single string
cannot express them. What is stored stays the flat map of field name to
string, so existing reactions need no migration.

A value the reaction cannot write no longer reaches the record. The
response names every such field in a "skippedFields" key together with
a reason code, and a call resolving nothing creates no record.

The map offers only fields the integrator may edit, and writes only
those the impersonated backend user may write.

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 2

Files 27

Show 7 more files

Review log 1317

  1. Oli Bartsch uploaded patch set 1 09/15/26, 10:06

  2. core-ci voted on patch set 1 V +1 09/15/26, 10:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108606

  3. Georg Ringer voted on patch set 1 CR +1 V +1 09/15/26, 18:55

  4. Georg Ringer voted on patch set 1 CR 0 09/15/26, 18:59

  5. Oli Bartsch uploaded patch set 2 V +1 09/16/26, 20:47

  6. core-ci voted on patch set 2 V -1 09/16/26, 20:56 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108723

  7. Oli Bartsch uploaded patch set 3 V -1 09/16/26, 21:14

  8. core-ci voted on patch set 3 V +1 09/16/26, 21:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108729

  9. Benni Mack commented on patch set 3 09/17/26, 06:30

    FieldMapElement.php:299

    should we consider itemsProcFunc / itemsProcessing here?
  10. Oli Bartsch commented on patch set 3 09/17/26, 06:42

    FieldMapElement.php:299 Reply

    $column here is the compiled column from FormDataCompiler, not raw TCA. So config.items has already been through TcaSelectItems/TcaCheckboxItems/TcaRadioItems and therefore through itemsProcFunc and itemsProcessors, plus the TCEFORM composition steps.
  11. Benni Mack voted on patch set 3 CR +1 V +1 09/17/26, 18:36

  12. Oli Bartsch uploaded patch set 4 CR +1 V +1 09/17/26, 20:39

  13. Georg Ringer voted on patch set 4 CR +1 V +1 09/17/26, 20:41

  14. core-ci voted on patch set 4 V +1 09/17/26, 20:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108768

  15. Benni Mack voted on patch set 4 CR +1 V +1 09/17/26, 21:02

  16. Oli Bartsch voted on patch set 4 CR +2 V +2 09/17/26, 21:14

  17. Oli Bartsch merged patch set 5 09/17/26, 21:14