Project

General

Profile

Actions

Bug #89697

closed

Scheduler writes invalid 'serialized_task_object' to database

Added by Michael Schams about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2019-11-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

TYPO3v10.2dev-Scheduler.mp4 (1.44 MB) TYPO3v10.2dev-Scheduler.mp4 Michael Schams, 2019-11-17 06:33
screenshot-20191119-0005.png (42.5 KB) screenshot-20191119-0005.png Michael Schams, 2019-11-18 14:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90220: Scheduler results in exception when used with sqliteClosed2020-01-27

Actions
Actions

Also available in: Atom PDF