Issue Bug Closed

#106383Task serialization may fail with a type error on Start/Endtime not being INT

Garvin Hicking 03/18/25, 18:14 updated 08/12/25, 14:36

Description

Follow-up to #104765, quote:

I have updated to the just released TYPO3 12.4.28 which includes the bugfix for this issue.

When I try to edit a task in the scheduler module, I get the following error (using the debug preset in the development context):

TypeError
TYPO3\CMS\Scheduler\Controller\SchedulerModuleController::formatTimestampForDatePicker(): Argument #1 ($timestamp) must be of type int, string given, called in /var/dvt/html/t3xxx/vendor/typo3/cms-scheduler/Classes/Controller/SchedulerModuleController.php on line 448
Quote Edit #14

The AbstractTask deserialization has no type constraint on start/end properties, and might be an empty string (or even null?)

Reviews 3