[BUGFIX] PropertyMapper does not work with class aliasses 78/26578/3
authorFrans Saris <franssaris@gmail.com>
Sun, 29 Dec 2013 21:18:17 +0000 (22:18 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 2 Feb 2014 12:12:35 +0000 (13:12 +0100)
commit1ee4086e4e736e10f360e5dc980011336d677e34
tree043bc305638d3eeccde40cdcc308dae68ad8f922
parent970944d8b9dbe65fe9a2ddd638738fabd8e4923c
[BUGFIX] PropertyMapper does not work with class aliasses

Currently the property mapper uses the classnames found
in the the class property annotations to find the right
TypeConverter. But for class aliases this breaks as the
alias is used and not the original classname.

There was already a getClassNameForAlias call but this was
to early.

This change moves the getClassNameForAlias() call from
doMapping() to findTypeConverter().

Releases: 6.2, 6.1
Resolves: #54289
Change-Id: Ie4ab3deb3c192290db62ea06826870d2fadba8a7
Reviewed-on: https://review.typo3.org/26578
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Property/PropertyMapper.php