Review 12.4 Merged

88380[BUGFIX] Handle EXT:scheduler task deserialisation more gracefully

Garvin Hicking CR +2 V +2 Easy +25 −1 updated 02/27/25, 09:46

Commit message

In case a scheduler task cannot be deserialized (for example,
tasks of extensions where an extension upgrade restructured central
object classes), also PHP TypeErrors are now caught and forwarded
with the specific `InvalidTaskException`, including the previous
exception/throwable.

A test is added for this scenario, with a manipulated serialized
string that would assign a mismatching type (string instead of array)
in the property `any`.

Review

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

Issues 1

Files 2

Review log 34

  1. Garvin Hicking commented on patch set 1 02/27/25, 09:13

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 02/27/25, 09:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/74825

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 02/27/25, 09:46

  4. Garvin Hicking merged patch set 2 02/27/25, 09:46