Breaking: #101129 - Convert Action to native backed enum

See forge#101129


The class \TYPO3\CMS\Scheduler\Task\Enumeration\Action is now converted to a native backed enum. In addition the class is moved to the namespace \TYPO3\CMS\Scheduler and renamed to SchedulerManagementAction.


Since \TYPO3\CMS\Scheduler\Task\Enumeration\Action is no longer a class, the existing class constants are no longer available. In addition it's not possible to instantiate it anymore.

Affected installations

Third-party extensions using the following class constants:

  • \TYPO3\CMS\Scheduler\Task\Enumeration\Action::ADD
  • \TYPO3\CMS\Scheduler\Task\Enumeration\Action::EDIT
  • \TYPO3\CMS\Scheduler\Task\Enumeration\Action::LIST

Class instantiation:

  • new Action('a-string')


Include the enum SchedulerManagementAction from namespace \TYPO3\CMS\Scheduler as a replacement for Action.

Use the new syntax

  • \TYPO3\CMS\Scheduler\SchedulerManagementAction::ADD
  • \TYPO3\CMS\Scheduler\SchedulerManagementAction::EDIT
  • \TYPO3\CMS\Scheduler\SchedulerManagementAction::LIST

as well as the tryFrom($aString) static method of the backed enum.