Issue Bug Closed

#89697Scheduler writes invalid 'serialized_task_object' to database

Michael Schams 11/17/19, 06:33 updated 03/23/20, 07:22

Description

TYPO3 v10.2-dev

Scheduler writes invalid ‘@serialized_task_object@’ to database. The data looks cut short, for example:

4|1573967907|0|0||1573977891|0|||O:42:"TYPO3\CMS\Linkvalidator\Task\ValidatorTask":22:{s:12:"||0

I am using SQLite. The table is created as follows:

CREATE TABLE IF NOT EXISTS "tx_scheduler_task" (
  "uid" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
  "crdate" INTEGER UNSIGNED DEFAULT 0 NOT NULL,
  "disable" SMALLINT UNSIGNED DEFAULT 0 NOT NULL,
  "deleted" SMALLINT UNSIGNED DEFAULT 0 NOT NULL,
  "description" CLOB DEFAULT NULL,
  "nextexecution" INTEGER UNSIGNED DEFAULT 0 NOT NULL,
  "lastexecution_time" INTEGER UNSIGNED DEFAULT 0 NOT NULL,
  "lastexecution_failure" CLOB DEFAULT NULL,
  "lastexecution_context" VARCHAR(3) DEFAULT '' NOT NULL,
  "serialized_task_object" BLOB DEFAULT NULL,
  "serialized_executions" BLOB DEFAULT NULL,
  "task_group" INTEGER UNSIGNED DEFAULT 0 NOT NULL
);

(serialized_task_object: BLOB).

Steps to reproduce the issue: see attached screen recording.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.