[DDC-1948] Lazy Loading on Many To One association does not work Created: 26/Jul/12  Updated: 21/Feb/13  Resolved: 21/Feb/13

Status: Closed
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.1.7
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Julien AUBIN Assignee: Marco Pivetta
Resolution: Incomplete Votes: 0
Labels: None


 Description   

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.



 Comments   
Comment by Benjamin Eberlei [ 29/Jul/12 ]

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?

Comment by Marco Pivetta [ 21/Feb/13 ]

Closing as incomplete.

Please test this with latest master before eventually re-opening

Generated at Sat Sep 20 00:03:37 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.