Bug #33139

Confusing error message if a CommandController is outside /Controller/ directory

Added by Christof Rodejohann almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Could have
Category:
Command
Start date:
2012-01-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

If you create a CommandController which is not in the /Controller/ directory of a package you will get an error saying "Invalid controller class name [...] 1305100019"

I understand how this is correct, but still this message is confusing. A check for the right directory and a suitable error message might be the best solution. But a simple hint to check for the directory might solve this easily.

The error is thrown in
FLOW3/Packages/TYPO3.FLOW3 / Classes / MVC / CLI / Command.php Line 60

#1

Updated by Karsten Dambekalns almost 10 years ago

  • Category set to Command
  • Status changed from New to Accepted
  • Target version set to 1.0.4
#2

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.4 to 1.0.5
#3

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11610

#4

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/11748

#5

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/11749

#6

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF