Bug #106801
openScheduler cannot switch task types when configured fields are not submitted in FormEngine
0%
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.
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
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
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
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
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