Review main Merged

90810[TASK] Cleanup scheduler task handling

Oli Bartsch CR +2 V +2 Normal +38 −23 updated 09/29/25, 14:49

Commit message

This unifies the way how the json fields
are processed by the DataHandler Hook
and TaskService. The fields are now always
decoded (if still encoded, e.g. when
DH initiates a command directly) and added
to the field array as first level keys.

ExecuteSchedulableCommandAdditionalFieldProvider
is now always using the TCA field "tasktype".

A duplicated "tasktype" assignment is
removed and the order of the field array
construction is fixed.

Additionally, the option to duplicate
a scheduler task is removed, because
this does not work with tasks, using
field providers, which prefix their
fields. DH does not know about this
prefix when doing the "copy" command.
Actually the option to duplicate has
never been available, but came as
coincidence by migrating to FormEngine
in #106739.

Review

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

Issues 2

Files 4

Review log 915

  1. Oli Bartsch uploaded patch set 1 09/26/25, 10:38

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

  3. Oli Bartsch uploaded patch set 2 V +1 09/26/25, 13:37

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

  5. core-ci commented on patch set 2 09/26/25, 19:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85612

  6. Oli Bartsch uploaded patch set 3 V -1 09/26/25, 20:04

  7. core-ci voted on patch set 3 V -1 09/26/25, 20:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85623

  8. Oli Bartsch uploaded patch set 4 V -1 09/29/25, 10:00

  9. Oli Bartsch uploaded patch set 5 09/29/25, 10:04

  10. core-ci voted on patch set 4 V -1 09/29/25, 10:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85690

  11. core-ci voted on patch set 5 V +1 09/29/25, 10:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85691

  12. Benni Mack voted on patch set 5 CR +1 V +1 09/29/25, 10:27

  13. Garvin Hicking voted on patch set 5 CR +1 V +1 09/29/25, 13:56

  14. Oli Bartsch voted on patch set 5 CR +2 V +2 09/29/25, 14:49

  15. Oli Bartsch merged patch set 6 09/29/25, 14:49