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 #1

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59259

Actions #2

Updated by Joerg Boesche almost 6 years ago

  • Parent task deleted (#86785)
Actions #3

Updated by Joerg Boesche almost 6 years ago

  • Related to Bug #86785: Calling scheduler command on CLI throws error if not in /var/www/html added
Actions #4

Updated by Josef Glatz almost 6 years ago

  • Related to Bug #86941: Logger instances in scheduler tasks are deserialized with outdated paths added
Actions #5

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59259

Actions #6

Updated by Achim Fritz over 5 years ago

  • Related to Bug #87780: Extbase Task should call parents __sleep and __wakeup Methods added
Actions #7

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60306

Actions #8

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60306

Actions #9

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60306

Actions #10

Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60306

Actions #11

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60325

Actions #12

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60472

Actions #13

Updated by Helmut Hummel over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF