Issue Bug Closed

#86941Logger instances in scheduler tasks are deserialized with outdated paths

Helmut Hummel 11/16/18, 12:03 updated 02/27/20, 12:41

Description

Scheduler serializes tasks and stores them in the database.
If these tasks store a logger instance (e.g. by using the LoggerAwareTrait), this instance will be serialized as well and will point to the wrong path, e.g. when TYPO3 is moved to a different folder
or path changes due to deployments.

This issue became much more prevalent with the addition of LoggerAwareTrait to \TYPO3\CMS\Scheduler\Task\AbstractTask
Now every single task will store outdated logger instances pointing to very likely broken directories

Reviews 4