mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
object from "DoctrineProxies\__CG__\", the third object of recursive calling #7208
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 @ghost on GitHub (Aug 8, 2023).
Bug Report
Summary
I'm recursively calling the get by id function normally, one of the records retrieved (always the 3rd call) is not an obj of the same class as supposed. it seems like the relation is fetched "lazy" (default) instead of "eager" in this 3rd call only
Current behavior
I'm recursively calling the get by id function normally, one of the records retrieved (always the 3rd call) is not an obj of the same class as supposed. it seems like the relation is fetched "lazy" (default) instead of "eager" in this 3rd call only
the object retrieved from the third call is "DoctrineProxies_CG_" object not the same as the other objects in the same call!
How to reproduce
Expected behavior
all objects should be from the same class.