Bug #33139

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

Added by Christof Rodejohann over 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-01-12
Priority:Could have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Command
Target version:TYPO3 Flow Base Distribution - 1.0.5
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.0.2

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

Associated revisions

Revision 57565091
Added by Karsten Dambekalns about 3 years ago

[BUGFIX] Fix error message about command controller classes

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

This change makes the error message a little more helpful.

Change-Id: I7605a87b446d88c824a4c75cd12c94b439b75eb8
Fixes: #33139
Releases: 1.0, 1.1, 1.2

Revision 42f4e5ec
Added by Karsten Dambekalns about 3 years ago

[BUGFIX] Fix error message about command controller classes

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

This change makes the error message a little more helpful.

Change-Id: I7605a87b446d88c824a4c75cd12c94b439b75eb8
Fixes: #33139
Releases: 1.0, 1.1, 1.2

Revision cc72a1c6
Added by Karsten Dambekalns about 3 years ago

[BUGFIX] Fix error message about command controller classes

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

This change makes the error message a little more helpful.

Change-Id: I7605a87b446d88c824a4c75cd12c94b439b75eb8
Fixes: #33139
Releases: 1.0, 1.1, 1.2

History

#1 Updated by Karsten Dambekalns over 3 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 3 years ago

  • Target version changed from 1.0.4 to 1.0.5

#3 Updated by Gerrit Code Review about 3 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 about 3 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 about 3 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 about 3 years ago

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

Also available in: Atom PDF