[BUGFIX] Scheduler: Show exception when invalid CommandController present 18/36718/2
authorArmin Ruediger Vieweg <armin@v.ieweg.de>
Tue, 3 Feb 2015 19:43:44 +0000 (20:43 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 12 Feb 2015 16:55:16 +0000 (17:55 +0100)
commitf1476a3d0db76c96635797cd927ce13f5dcdee70
treefc5d7f3cf9de29d6352c22c706e14d1e3cf049f1
parent7418f61341c4fab45f2176e8dc9a8639aad61872
[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/36718
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extbase/Classes/Mvc/Cli/Command.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php