Project

General

Profile

Actions

Bug #100975

open

Undefined property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$logger

Added by Rémy DANIEL 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2023-06-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I can see this error in logs when a LinkValidator scheduler task is executed :

[ERROR] Warning: Undefined property:
TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$logger

It's weird because $logger should be available, thanks the trait of the abstract class.
Maybe the serialization/unserialization of the task unsets $logger (see unsetScheduler method in AbstractTask ?).

Note: the error may occur for the first time only if the configuration emailTemplateName was left empty when the task was created. The missing configuration is automatically fixed and the task saved.

Note 2: I have no backtrace of the error

Actions #1

Updated by Rémy DANIEL 11 months ago

I can't reproduce the issue in a dev environment.

Actions #2

Updated by Rémy DANIEL 11 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF