DDC-1778: Cloned PersistentCollection with orphanRemoval #2236

Closed
opened 2026-01-22 13:45:50 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 16, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user merk:

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.

Originally created by @doctrinebot on GitHub (Apr 16, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user merk: 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.
admin added the Bug label 2026-01-22 13:45:50 +01:00
admin closed this issue 2026-01-22 13:45:50 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2012):

Comment created by merk:

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

@doctrinebot commented on GitHub (Apr 16, 2012): Comment created by merk: Pull request with 3 failing tests (That are fixed by modifications to PersistentCollection in the same commit)
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2012):

Comment created by merk:

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

@doctrinebot commented on GitHub (Apr 16, 2012): Comment created by merk: https://github.com/doctrine/doctrine2/pull/336
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2012):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Apr 16, 2012): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 16, 2012): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Apr 29, 2012):

Comment created by bschussek:

Is this backported to 2.1 as well?

@doctrinebot commented on GitHub (Apr 29, 2012): Comment created by bschussek: Is this backported to 2.1 as well?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2236