[BUGFIX] Allow integers to be converted to objects 92/32592/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:37:10 +0000 (00:37 +0200)
commit434d7674b20b7a22c2e3f618e42d714de4bccc3e
treee6cc17786e89bcea6201a8be9075e8336c03d038
parente50f32643ad963ef13f3d3f76355808b17f674c5
[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/32592
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