Bug #67630
closed
Loop when resolving circular relations
Added by Felix Oertel over 9 years ago.
Updated about 7 years ago.
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.
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40471
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40471
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40471
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-3 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40541
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF