[BUGFIX] Persist traversable domain objects via identifier 46/51446/2
authorMathias Brodala <mbrodala@pagemachine.de>
Thu, 12 Jan 2017 13:03:04 +0000 (14:03 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 27 Jan 2017 11:02:48 +0000 (12:02 +0100)
commit4d3ded20426758d43342dc8c318e5fd0c69cd8b9
treec9a4f6590f57bdb9890654da16cd99cf45ca0075
parent35cbc15fe32844204b64ec3c86ee7d22770f5f19
[BUGFIX] Persist traversable domain objects via identifier

Objects implementing the DomainObjectInterface must always be
persisted using their identifier, even if they implement the
Traversable interface.

Change-Id: Iccb53d6e7ded9b6b5300e111e8503641b10615f4
Resolves: #79294
Related: #57255
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/51446
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php