#107597Erroneous tasks cannot be deleted
Description
I used the recycler to restore a deleted scheduler task from pre TCA times.
I ended up with a task that cannot be deleted from the scheduler module. There is a button to delete it but that button prompts me if I want to delete it but then does nothing:
clipboard-202510040703-by56x.png
The task is also not listed in the list module:
clipboard-202510040703-kc9s2.png
However it was possible to restore it from the recycler
Reviews 1
Files 3
History 49
-
Lina Wolf commented and changed attached clipboard-202510040708-z0jpy.png 10/04/25, 05:08
-
Garvin Hicking commented and changed status
NewAccepted priorityShould haveMust have 10/04/25, 20:10Can verify; this is an infinite recursion happening in
SchedulerModuleController->deleteTask:$task = $this->taskRepository->findByUid($taskUid);
If you wait long enough you’ll get a timeout exception.
-
Gerrit Code Review pushed patch set 1 for main to change 90904 status
AcceptedUnder Review 10/04/25, 20:22 -
Gerrit Code Review pushed patch set 2 for main to change 90904 10/04/25, 21:30
-
Gerrit Code Review pushed patch set 3 for main to change 90904 10/05/25, 10:10
-
Gerrit Code Review pushed patch set 4 for main to change 90904 10/05/25, 10:11
-
Gerrit Code Review pushed patch set 5 for main to change 90904 10/06/25, 08:55
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 10/09/25, 07:15Applied in changeset commit:e062aaed922cde9a035a1cd0e303f7911c463a39.
-
Benni Mack changed status
ResolvedClosed 12/02/25, 13:04
I could only get rid of the erroneus task by setting the deleted tag directly in the database.
This is the data in the table:
Task one is visible in the scheduler and can be restored from there:
clipboard-202510040708-z0jpy.png