[BUGFIX] Fix old propertymapper checking target with namespace
authorSebastian Fischer <typo3@evoweb.de>
Mon, 27 Aug 2012 04:35:11 +0000 (06:35 +0200)
committerNicole Cordes <n.cordes@biz-design.biz>
Tue, 28 Aug 2012 14:26:15 +0000 (16:26 +0200)
commit9295bf87c0afa0275066cb15a08bb309b1f35213
tree0988892405588f385921465fc20e834b450407b4
parent289b5c05d13edb61db97d51b4d08c576586376c1
[BUGFIX] Fix old propertymapper checking target with namespace

The propertymapper checks if the target is an object by checking on
is_string and an '_' in the string. Since namespaces are in use it
needs to check on \

Change-Id: I1e664995733fa1438a4df62f0e41758b22045692
Fixes: #40242
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14124
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/extbase/Classes/Property/Mapper.php
typo3/sysext/extbase/Tests/Fixture/ClassWithGettersAndSetters.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Fixture/TxClassWithGettersAndSetters.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Unit/Property/MapperTest.php [new file with mode: 0644]