[BUGFIX] Allow integers to be converted to objects 43/32543/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 1 Sep 2014 09:43:40 +0000 (11:43 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 4 Sep 2014 22:36:38 +0000 (00:36 +0200)
commit6f87d42c6a9c67c2c67f72b85e8e8949efd1746c
tree226400e826e6226445c6a334e1bfdff8d24332d7
parent8c466564905b8afcc2c54789acb21cac5279bec1
[BUGFIX] Allow integers to be converted to objects

In TYPO3 CMS the identity of objects/ records are
integers (uids). Because of that, the persistent object
type converter should be able to convert integers to
objects, not only strings.

Releases: 6.2, 6.3
Resolves: #61292
Change-Id: I0b69295ae7adfdbe49cf19056614b984f34290c6
Reviewed-on: http://review.typo3.org/32543
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/extbase/Classes/Property/TypeConverter/PersistentObjectConverter.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/PersistentObjectConverterTest.php