[BUGFIX] PropertyMapper does not work with class aliasses 62/27262/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 16:09:23 +0000 (17:09 +0100)
commitaf8f6ebc2dc554956bd20d8b6ab5d102779188d7
tree2dba2ab1b5daceb14d1a5c2b461e2f0113e04d22
parent9596d4da3ac8110a76cb3eadabb9307b67971793
[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/27262
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Property/PropertyMapper.php