Issue Bug Closed

#67630Loop when resolving circular relations

Felix Oertel 06/19/15, 15:56 updated 10/19/17, 21:25

Description

When using circular relations in extbase

class Author has protected $articles and class Article has protected $author

the DataMappers attempt to resolv it will fail in an infinite loop.

Reason:
While replacing the IdentityMap with the PersistenceSession, the call responsible for registering the newly resolved object to the session was moved down too far. The object has to be registered before the arguments get mapped, so that sub-objects getting mapped can find it.

Reviews 2