#101976EXT:scheduler: Remove task while in edit form throws error
Description
Steps to reproduce:
- create a new scheduler task, save & exit
- 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.