[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/51287 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php 2 additions, 2 deletions...extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php 7 additions, 0 deletions.../Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php
Please register or sign in to comment