Bug #67044
closedNormalize Type int to integer doesn't work in DTOs
100%
Description
I walk across a bug with the PropertyMapper when i declare a property as int instead of integer in a DTO Model.
The error message says as follows:
#1297759968: Exception while property mapping at property path "confirmation":No converter found which can be used to convert from "string" to "int".
I found an issue report and a fix in the TYPO3 FLOW Bugtracker under: https://forge.typo3.org/issues/47054
Maybe this fix has not been ported to extbase yet.
After i changed the declaration from int to integer, everything works as expected.
To reproduce this, simply add an action in a controller which expects a DTO as parameter and let it validate this. Add a property with declaration int to the DTO and submit it to the created action with an integer value for this property.
I encountered this with TYPO3 6.2.13 from github TYPO3_6-2 branch.