[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


Create a many to one relationship with lazy loading as exposed there :

Notice that the relationship does not load while it should.

The problem is always reproducible.

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 Thu Sep 03 11:16:13 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.