[BUGFIX] Infinite loop with circular relations 41/40541/2
authorFelix Oertel <foertel@devbutze.de>
Fri, 19 Jun 2015 13:58:04 +0000 (15:58 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 22 Jun 2015 19:29:20 +0000 (21:29 +0200)
commit8fa7a66d15965bfb43b8003f1d24148b50cf5ef0
treeda8fc9f4a48d78ef8a0667966db253c2455af97a
parenta6f0b288f8aa15dbf55473e9248c3772dde6415b
[BUGFIX] Infinite loop with circular relations

When resolving circular relations, extbase fails with an
infinite loop because the DataMapper waits for all sub-
objects to be mapped before registering them to the session.
The sub-objects can thus not find the parent object in the
session and the loop begins.

Resolves: #67630
Related: #66429
Releases: master
Change-Id: Ie20e2690323a00d8f54f3af5ce2fce87715f4247
Reviewed-on: http://review.typo3.org/40541
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php