Project

General

Profile

Actions

Bug #106801

open

Scheduler cannot switch task types when configured fields are not submitted in FormEngine

Added by Garvin Hicking 20 days ago. Updated 16 days ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2025-05-30
Due date:
% Done:

0%

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

Description

- Open "Scheduler" backend modul
- Click "+ New task"
- Set "task type" to "OptimizeDatabaseTableTask"
- Click "OK" on the "refresh required" dialog
- TYPO3 Exception: PHP Warning: Undefined array key "scheduler_optimizeDatabaseTables_selectedTables" in /var/www/html/typo3-core/typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php line 124

This happens for any task that wants to validate parameters that are not part of the $submittedData array.

Every scheduler FieldProvider that accesses $submittedData seems to need null-coalescing with a proper default value. Maybe there is a better way to populate the default values in such a case.

Actions #1

Updated by Gerrit Code Review 20 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89594

Actions #2

Updated by Gerrit Code Review 17 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89594

Actions #3

Updated by Gerrit Code Review 17 days ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89594

Actions #4

Updated by Gerrit Code Review 17 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89594

Actions #5

Updated by Gerrit Code Review 16 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/89594

Actions

Also available in: Atom PDF