Review main Merged

96186[FEATURE] Try out reactions in the backend module

Oli Bartsch CR +2 V +2 Expert +1787 −57 updated 10/02/26, 09:37

Commit message

The reactions module listed the URL of each reaction with a generic
curl example that named payload keys no reaction reads. Integrators had
to find out by trial which request a reaction expects, and whether the
impersonated user may write the record at all.

Each reaction now has a "Try out" button opening a modal with its
endpoint and a curl example whose body is built from the placeholders
of its field map. Reactions creating a record also offer a dry run: a
payload is resolved against the field map as the impersonated user,
item processors included, and the result lists the fields that would be
written or skipped and why. It also names what keeps the endpoint from
creating any record, such as a disabled reaction, a missing table
permission or an inaccessible storage page. Nothing is written.

To share this with the endpoint, CreateRecordReaction::react() now
calls a side-effect free resolve() before handing the record to
DataHandler, and both read the request body through one decoder.

Review

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

Issues 1

Files 26

Show 6 more files

Review log 1216

  1. Oli Bartsch uploaded patch set 1 09/29/26, 21:06

  2. core-ci voted on patch set 1 V -1 09/29/26, 21:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109546

  3. Oli Bartsch uploaded patch set 2 V -1 09/29/26, 21:43

  4. core-ci voted on patch set 2 V +1 09/29/26, 21:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109548

  5. Garvin Hicking commented on patch set 2 09/30/26, 08:08

    TryOut.fluid.html:11

    please use new language domain syntax
  6. Oli Bartsch uploaded patch set 3 V +1 09/30/26, 16:33

  7. Oli Bartsch commented on patch set 3 09/30/26, 16:33

    TryOut.fluid.html:11 Reply

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

  9. Georg Ringer voted on patch set 3 CR +1 V +1 09/30/26, 18:40

  10. Georg Ringer rebased onto patch set 4 CR +1 V +1 09/30/26, 18:56

  11. core-ci voted on patch set 4 V +1 09/30/26, 19:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109684

  12. Georg Ringer voted on patch set 4 CR +1 V +1 10/01/26, 07:00

  13. Simon Schaufelberger voted on patch set 4 CR +1 V +1 10/02/26, 09:09

  14. Simon Schaufelberger commented on patch set 4 10/02/26, 09:21

    The same feature would be cool for the webhooks to make a request to an external API directly from the backend.
  15. Oli Bartsch voted on patch set 4 CR +2 V +2 10/02/26, 09:37

  16. Oli Bartsch merged patch set 5 10/02/26, 09:37