DDC-1948: Lazy Loading on Many To One association does not work #2458

Closed
opened 2026-01-22 13:54:01 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 26, 2012).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user julien.aubin:

Create a many to one relationship with lazy loading as exposed there :
http://stackoverflow.com/questions/7599007/lazy-loading-properties-not-loading-in-doctrine-2-0

Notice that the relationship does not load while it should.

The problem is always reproducible.

Originally created by @doctrinebot on GitHub (Jul 26, 2012). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user julien.aubin: Create a many to one relationship with lazy loading as exposed there : http://stackoverflow.com/questions/7599007/lazy-loading-properties-not-loading-in-doctrine-2-0 Notice that the relationship does not load while it should. The problem is always reproducible.
admin added the Bug label 2026-01-22 13:54:01 +01:00
admin closed this issue 2026-01-22 13:54:02 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 29, 2012):

Comment created by @beberlei:

I need more information. The mapping of both entities, and a \Doctrine\Common\Utils\Debug::dump() of the $source entity when its a proxy. Also it would be helpful to have an SQL log which shows the queries executed by your example. Do you use any listeners?

@doctrinebot commented on GitHub (Jul 29, 2012): Comment created by @beberlei: I need more information. The mapping of both entities, and a \Doctrine\Common\Utils\Debug::dump() of the $source entity when its a proxy. Also it would be helpful to have an SQL log which shows the queries executed by your example. Do you use any listeners?
Author
Owner

@doctrinebot commented on GitHub (Feb 21, 2013):

Issue was closed with resolution "Incomplete"

@doctrinebot commented on GitHub (Feb 21, 2013): Issue was closed with resolution "Incomplete"
Author
Owner

@doctrinebot commented on GitHub (Feb 21, 2013):

Comment created by @ocramius:

Closing as incomplete.

Please test this with latest master before eventually re-opening

@doctrinebot commented on GitHub (Feb 21, 2013): Comment created by @ocramius: Closing as incomplete. Please test this with latest master before eventually re-opening
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2458