Bug #7727

Better handling of "wrong" parameters in ./flow3

Added by Soren Malling about 5 years ago. Updated about 4 years ago.

Status:Resolved Start date:2010-05-09
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Core
Target version:TYPO3 Flow Base Distribution - 1.0 beta 1
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

Just did a fresh "svn export ..." and tried to list the available packages

TurtleJoe:flow3 sorenmalling$ ./flow3 package list avaliable

Uncaught Exception in FLOW3 #1186669086: An action "listavaliableAction" does not exist in controller "F3\FLOW3\Package\Controller\PackageManagerController".
thrown in file Packages/Framework/FLOW3/Classes/MVC/Controller/ActionController.php
in line 148

Due to a spelling error i get this ugly error message. I think there should be a better handling of such errors, when FLOW3 goes in to beta/RC mode


Related issues

related to TYPO3.Flow - Bug #27820: CLI arguments are not working for camelCased commands Resolved 2011-07-03

History

#1 Updated by Karsten Dambekalns over 4 years ago

  • Category changed from - Error Handler Report - to Core

Meanwhile this has changed and one gets no output at all:

karsten@kmac:typo3v5  (master)$ ./flow3 do.shit
karsten@kmac:typo3v5  (master)$ ./flow3 flow3:core:foo
karsten@kmac:typo3v5  (master)$

Exceptions are only shown in the log. When running flow3_dev things are almost as bad as before:

karsten@kmac:typo3v5  (master)$ ./flow3_dev do.shit

Uncaught Exception in FLOW3 #1264589155: Object "" is not registered.
thrown in file Packages/Framework/FLOW3/Classes/Object/ObjectManager.php
in line 167

karsten@kmac:typo3v5  (master)$ ./flow3_dev flow3:core:foo

Uncaught Exception in FLOW3 #1300902143: A command method "fooCommand()" does not exist in controller "F3\FLOW3\Command\CoreCommandController".
thrown in file Packages/Framework/FLOW3/Classes/MVC/Controller/CommandController.php
in line 99

#2 Updated by Karsten Dambekalns about 4 years ago

  • Status changed from New to Resolved
  • Assigned To set to Robert Lemke
  • Target version set to 1.0 beta 1
  • % Done changed from 0 to 100

Now it outputs the help instead.

Also available in: Atom PDF