Bug #4160

MVC Controller Argument $dataType should NOT be set to "Text" by default

Added by Sebastian Kurfuerst almost 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-08-05
Priority:Must have Due date:
Assigned To:Sebastian Kurfuerst % Done:

0%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 5
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

MVC Controller Argument $dataType should NOT be set to "Text" by default. Instead, it would be a lot better to throw an exception if the data type could not be determined.

Just imagine somebody writing the following:

 * param array $bla

He will only notice that he forgot the @ if the system throws an exception at him. Else, it could sometimes work, and sometimes not...

Greets,
Sebastian

History

#1 Updated by Karsten Dambekalns almost 6 years ago

  • Category set to MVC
  • Status changed from New to Resolved
  • Assigned To set to Sebastian Kurfuerst
  • Target version set to 1.0 alpha 5

This is fixed as of r3192.

Also available in: Atom PDF