mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2595: UoW is not supposed to trigger the post-load event for uninitialized proxies. #3258
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 6, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user shiroyuki:
When one entity have multiple nested levels and associated to 700 other entities, the ORM exhausts a large amount of memory and execution time which exceeds either the memory limit or the maximum execution time.
Prerequisite:
How to Reproduce:
X. (Done)
Notes:
The initial investigation indicates that UnitOfWork should not trigger the post-load event for uninitialized proxies.
One thing worth-mentioning is that if the event listener ignores all proxies, we will not have this problem. However, some properties (e.g., ones of type TEXT/BLOB) are not loaded into normal entities but they are loaded into the proxies.