Bug #64836
closedCan't create new scheduler tasks, if CommandController has been added wrong
100%
Description
When I am adding in my extbase extension a new CommandController and it does not contain the words "CommandController" an exception will be thrown [1].
But this exception will not be displayed, because in Scheduler module there exists a try/catch [2] which just continues with output and outputs the list instead of the add form.
The result is:
This issue occurs in TYPO3 6.2.9 and current master (7.1).
[1]
if (count($classNameParts) !== 4 || strpos($classNameParts[3], 'CommandController') === FALSE) { throw new \InvalidArgumentException('Invalid controller class name "' . $controllerClassName . '"', 1305100019); }
[2]
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) { // An exception may 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; }
Files
Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36637
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36718
Updated by Armin Vieweg almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dc95eafe1d9f636dfc99c2c3f0460886b92af67c.