Bug #4160

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

Added by Sebastian Kurfuerst about 12 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
MVC
Start date:
2009-08-05
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

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

#1

Updated by Karsten Dambekalns about 12 years ago

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

This is fixed as of r3192.

Also available in: Atom PDF