[BUGFIX] Scheduler: Show exception when invalid CommandController present 37/36637/9
authorArmin Ruediger Vieweg <armin@v.ieweg.de>
Tue, 3 Feb 2015 19:43:44 +0000 (20:43 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 6 Feb 2015 15:50:21 +0000 (16:50 +0100)
commitdc95eafe1d9f636dfc99c2c3f0460886b92af67c
tree6834acfb2f142d1044ee544adff4f4c4633f8a5a
parent2d2773a54fe2ad8fd38f9c938e91114bf183e406
[BUGFIX] Scheduler: Show exception when invalid CommandController present

When a CommandController in an extbase extension has been registered,
but the class does not contain the string "CommandController"
an exception will be thrown. Before this patch, this exception
will never show up.

This patch adds the output of exception's message in Scheduler module,
which gives the developer a hint why the "add new task" form is not
displayed properly.

Also it extends the exception with description why the class name is invalid.

Resolves: #64836
Releases: master, 6.2
Change-Id: I309ed02c7fd4597b99388518abf842e600b27a9a
Reviewed-on: http://review.typo3.org/36637
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extbase/Classes/Mvc/Cli/Command.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php