Feature #9456

MVC arguments should be converted to their target type

Added by Robert Lemke over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
MVC
Start date:
2010-08-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

MVC arguments are mapped from the arguments found in the HTTP request (GET / POST ...) to controller argument objects. Because the raw arguments provided by the requests are strings, they currently also end up as strings in the argument objects.

We should instead transform the arguments to their declared type if possible. As we already know the designated data type for each argument (from the annotations and type hints) that should be easily possible.


Related issues

Related to TYPO3.Flow - Bug #6195: Empty form fields converted to empty string instead of type declared for propertyResolvedRobert Lemke

Actions
#1

Updated by Robert Lemke over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
#2

Updated by Robert Lemke over 10 years ago

  • Target version changed from 639 to 1.0 alpha 12

Also available in: Atom PDF