Issue Task Under Review Stale

#110636Inject mail services into SystemStatusUpdateTask

Wouter Wolters 09/06/26, 08:30 updated 09/06/26, 09:27

Description

SystemStatusUpdateTask currently resolves TemplatedEmailFactory and
MailerInterface at runtime through GeneralUtility::makeInstance().

Replace these service-locator calls with constructor injection. Since the
reports extension can be installed without the Scheduler extension, register
the task conditionally when Scheduler services are available.

Add a functional test confirming that TaskService can create the task using
the dependency injection container.

Reviews 1

History 02