Project

General

Profile

Actions

Bug #87261

closed

Upgrade wizard for scheduler tasks with invalid Logger instance paths

Added by Joerg Boesche almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
scheduler
Target version:
-
Start date:
2018-12-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Scheduler tasks with invalid logger instance paths for file logs need an update. The logger instance must be removed in the "serialized_task_object" database table field with the upgrade wizard.

Reproduce failing scheduler Task - Data from "serialized_task_object"

O:36:"TYPO3\CMS\Scheduler\Example\TestTask":9:{s:5:"email";s:11:"foo@bar.com";s:10:" * taskUid";i:3;s:11:" * disabled";b:0;s:19:" * runOnNextCronJob";b:0;s:12:" * execution";O:29:"TYPO3\CMS\Scheduler\Execution":6:{s:8:" * start";i:1545397126;s:6:" * end";s:0:"";s:11:" * interval";i:0;s:11:" * multiple";s:1:"0";s:10:" * cronCmd";s:11:"*/2 * * * *";s:23:" * isNewSingleExecution";b:0;}s:16:" * executionTime";i:1545397200;s:14:" * description";s:0:"";s:12:" * taskGroup";i:0;s:9:" * logger";O:25:"TYPO3\CMS\Core\Log\Logger":5:{s:7:" * name";s:36:"TYPO3.CMS.Scheduler.Example.TestTask";s:12:" * requestId";s:13:"da923bc5a3cc4";s:18:" * minimumLogLevel";i:7;s:10:" * writers";a:8:{i:0;a:2:{i:0;O:36:"TYPO3\CMS\Core\Log\Writer\FileWriter":1:{s:10:" * logFile";s:43:"/app/typo3temp/var/log/typo3_f0db86d347.log";}i:1;O:42:"TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter":0:{}}i:1;a:2:{i:0;r:22;i:1;r:24;}i:2;a:2:{i:0;r:22;i:1;r:24;}i:3;a:2:{i:0;r:22;i:1;r:24;}i:4;a:2:{i:0;r:22;i:1;r:24;}i:5;a:1:{i:0;r:24;}i:6;a:1:{i:0;r:24;}i:7;a:1:{i:0;r:24;}}s:13:" * processors";a:0:{}}}


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #86785: Calling scheduler command on CLI throws error if not in /var/www/htmlClosed2018-12-21

Actions
Related to TYPO3 Core - Bug #86941: Logger instances in scheduler tasks are deserialized with outdated pathsClosed2018-11-16

Actions
Related to TYPO3 Core - Bug #87780: Extbase Task should call parents __sleep and __wakeup MethodsClosed2019-02-25

Actions
Actions

Also available in: Atom PDF