Project

General

Profile

Actions

Bug #101976

closed

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

Added by Tung Ngo about 1 year ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2023-09-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

TYPO3 Exception.htm (59 KB) TYPO3 Exception.htm Tung Ngo, 2023-09-20 13:37
Actions #1

Updated by Tung Ngo about 1 year ago

  • TYPO3 Version changed from 12 to 13
Actions #2

Updated by Georg Ringer 6 months ago

  • Status changed from New to Closed

this has been fixed and also can't reproduce it anymore

Actions

Also available in: Atom PDF