DDC-3560: [GH-1300] [2.4] #1169 DDC-3343 one-to-omany persister deletes only on EXTRA_LAZY plus orphanRemoval #4379

Closed
opened 2026-01-22 14:40:36 +01:00 by admin · 7 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 5, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of Ocramius:

Url: https://github.com/doctrine/doctrine2/pull/1300

Message:

As per #1169 and DDC-3343 ( http://www.doctrine-project.org/jira/browse/DDC-3343 ), EXTRA_LAZY PersistentCollection#removeElement() calls should only affect the database if orphanRemoval=true is specified in the mappings.

Otherwise, being the one-to-many the inverse side, no action should be performed.

Originally created by @doctrinebot on GitHub (Feb 5, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of Ocramius: Url: https://github.com/doctrine/doctrine2/pull/1300 Message: As per #1169 and [DDC-3343](http://www.doctrine-project.org/jira/browse/DDC-3343) ( http://www.doctrine-project.org/jira/browse/[DDC-3343](http://www.doctrine-project.org/jira/browse/DDC-3343) ), `EXTRA_LAZY` `PersistentCollection#removeElement()` calls should only affect the database if `orphanRemoval=true` is specified in the mappings. Otherwise, being the `one-to-many` the inverse side, no action should be performed.
admin added the Bug label 2026-01-22 14:40:36 +01:00
admin closed this issue 2026-01-22 14:40:36 +01:00
Author
Owner
@doctrinebot commented on GitHub (Feb 5, 2015): - is required for [DDC-3343: `PersistentCollection::removeElement` schedules an entity for deletion when relationship is EXTRA_LAZY, with `orphanRemoval` false.](http://www.doctrine-project.org/jira/browse/DDC-3343)
Author
Owner

@doctrinebot commented on GitHub (Feb 5, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1300] was labeled:
https://github.com/doctrine/doctrine2/pull/1300

@doctrinebot commented on GitHub (Feb 5, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1300] was labeled: https://github.com/doctrine/doctrine2/pull/1300
Author
Owner

@doctrinebot commented on GitHub (Feb 5, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1300] was assigned:
https://github.com/doctrine/doctrine2/pull/1300

@doctrinebot commented on GitHub (Feb 5, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1300] was assigned: https://github.com/doctrine/doctrine2/pull/1300
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1300] was assigned:
https://github.com/doctrine/doctrine2/pull/1300

@doctrinebot commented on GitHub (Feb 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1300] was assigned: https://github.com/doctrine/doctrine2/pull/1300
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1300] was unassigned:
https://github.com/doctrine/doctrine2/pull/1300

@doctrinebot commented on GitHub (Feb 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1300] was unassigned: https://github.com/doctrine/doctrine2/pull/1300
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1300] was merged:
https://github.com/doctrine/doctrine2/pull/1300

@doctrinebot commented on GitHub (Feb 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1300] was merged: https://github.com/doctrine/doctrine2/pull/1300
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Feb 16, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4379