Project

General

Profile

Actions

Bug #67630

closed

Loop when resolving circular relations

Added by Felix Oertel over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extbase
Target version:
Start date:
2015-06-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #66429: Remove IdentityMapClosedMathias Brodala2015-04-15

Actions
Has duplicate TYPO3 Core - Bug #67622: Recursion problem in extension with bidirectional IRRE records "Maximum function nesting level of X reached, aborting!"Closed2015-06-19

Actions
Actions

Also available in: Atom PDF