[DDC-1778] Cloned PersistentCollection with orphanRemoval Created: 16/Apr/12  Updated: 29/Apr/12  Resolved: 16/Apr/12

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

Type: Bug Priority: Major
Reporter: Tim Nagel Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Description   

When using a cloned PersistentCollection (with the Symfony2 Form component, for example) when orphanRemoval is enabled, the cloned PersistentCollection will tell the UOW to schedule orphan removal.

I am working on a test and a fix, posting so i get an issue number to use.



 Comments   
Comment by Tim Nagel [ 16/Apr/12 ]

Pull request with 3 failing tests (That are fixed by modifications to PersistentCollection in the same commit)

Comment by Tim Nagel [ 16/Apr/12 ]

https://github.com/doctrine/doctrine2/pull/336

Comment by Benjamin Eberlei [ 16/Apr/12 ]

Fixed

Comment by Bernhard Schussek [ 29/Apr/12 ]

Is this backported to 2.1 as well?

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