Issue Bug Closed

#101976EXT:scheduler: Remove task while in edit form throws error

Tung Ngo 09/20/23, 13:49 updated 05/27/24, 06:24

Description

Steps to reproduce:

  1. create a new scheduler task, save & exit
  2. edit the newly created task and click on the “Delete” button

Stack dumps, shortened:

(1/1) TypeError
TYPO3\CMS\Scheduler\SchedulerManagementAction::tryFrom(): Argument #1 ($value) must be of type string, array given
in /var/www/html/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php line 180
...
$queryAction = SchedulerManagementAction::tryFrom($queryParams['action'] ?? '') ?? SchedulerManagementAction::LIST;
...
at TYPO3\CMS\Scheduler\SchedulerManagementAction::tryFrom(array('delete' => '8'))

The scheduler task can be removed normally in the list view of the scheduler module.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.