[DDC-1556] @PostLoad hook being executed more than once for the same entity when loaded through relationship Created: 22/Dec/11 Updated: 17/Feb/12 Resolved: 17/Feb/12
|Project:||Doctrine 2 - ORM|
|Reporter:||Agustín Gutiérrez||Assignee:||Benjamin Eberlei|
When I load both A's using the EntityManager, and access the instance of B (internally from each A), the @PostLoad hook is being triggered twice instead of once (as there is only one instance of A).
I left an attachment with the code ready to run (please read the README.md to setup the environment).
|Comment by Benjamin Eberlei [ 17/Feb/12 ]|
Fixed for 2.2.1