mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3441: Unidirectional ManyToOne Not Lazy Loading #4247
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 (Dec 9, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user mbright:
The Unidirectional ManyToOne association described in the docs does not lazy load correctly. The appropriate SQL will get executed, and the returned Proxy does pass type hinting for the correct class. However, the lazy loaded object always has the following properties:
*_initializer_**_cloner_**_isInitialized_*lazyPropertiesDefaultsAny properties from the class definition do not show up. This is problematic when trying to get reflected properties and their values. Methods are correctly reflected.
Pull request for failing test case
@doctrinebot commented on GitHub (Dec 9, 2014):
@doctrinebot commented on GitHub (Dec 9, 2014):
Comment created by mbright:
Let me know if anything else is needed.
@doctrinebot commented on GitHub (Dec 11, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1217] was assigned:
https://github.com/doctrine/doctrine2/pull/1217
@doctrinebot commented on GitHub (Dec 11, 2014):
Comment created by @ocramius:
Looks like a current ORM limitation (private properties lazy loading).
Related:
@doctrinebot commented on GitHub (Jan 24, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1217] was labeled:
https://github.com/doctrine/doctrine2/pull/1217
@doctrinebot commented on GitHub (Jan 24, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1217] was labeled:
https://github.com/doctrine/doctrine2/pull/1217
@doctrinebot commented on GitHub (Jun 16, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1217] was closed:
https://github.com/doctrine/doctrine2/pull/1217