[DDC-1509] Issue when merging entity with several associations to inherited classes Created: 23/Nov/11  Updated: 15/Dec/11  Resolved: 23/Nov/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.1.3, Git Master
Fix Version/s: 2.1.4
Security Level: All

Type: Bug Priority: Blocker
Reporter: Aigars Gedroics Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Attachments: File DDC1509Test.php    


When merging entity with several associations to inherited classes update data gathering is broken after first inheritance processing because $entity variable is overwritten with another object.

The problem is in the line


Test case will be attached shortly,

Comment by Benjamin Eberlei [ 23/Nov/11 ]

Raised to blocker.

I will fix that tonight and release a new ORM 2.1.* branch.

Comment by Benjamin Eberlei [ 23/Nov/11 ]


Comment by Wandrille M [ 15/Dec/11 ]

Hey I have something similar with one-to-one, can you tell me which git commit this relates to so I can investigate?

And i think it worked fine on 2.1.3 and not anymore

Comment by Aigars Gedroics [ 15/Dec/11 ]

It's https://github.com/doctrine/doctrine2/commit/80fae20f749f8db95156e333c430780a0717002f I guess.

Generated at Tue Dec 01 02:44:44 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.