Actions
Bug #80299
closedDisplay all error messages in scheduler add/edit
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2017-03-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Currently only the exception with code 1305100019 is caught, other exceptions are not displayed or logged this way.
Hard to debug when exception occurs.
See code in SchedulerModuleController:
// Handle chosen action switch ((string)$this->MOD_SETTINGS['function']) { case 'scheduler': $this->executeTasks(); switch ($this->CMD) { case 'add': case 'edit': try { // Try adding or editing $content .= $this->editTaskAction(); $sectionTitle = $this->getLanguageService()->getLL('action.' . $this->CMD); } catch (\Exception $e) { if ($e->getCode() === 1305100019) { // Invalid controller class name exception $this->addMessage($e->getMessage(), FlashMessage::ERROR); } // An exception may also happen when the task to // edit could not be found. In this case revert // to displaying the list of tasks // It can also happen when attempting to edit a running task $content .= $this->listTasksAction(); } break;
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63568
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4ec39adf5e89c12501cb06eab059eb6939eef662.
Updated by Gerrit Code Review over 4 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64276
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset 20e5cbb7cca1cdf59ac86317cb08ca0c798005e5.
Actions