Actions
Bug #65835
closedSimple types int/bool/double cause Exceptions when beeing mapped
Start date:
2015-03-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
Hi there
There is an issue when using aliased simple (target) types (int/bool/double) in PHDoc. During mapping it correctly identifies them as integer/boolean/float but fails to map them, because there is no type handling definition for int etc.
This can be remedied by calling \TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::normalizeType() in the PropertyMapper (see attached patch).
Found in 6.2.9, still relevant in 6.2.11.
Kind regards
Nils
Files
Actions