[PR #26] Ddc 875 #7612

Closed
opened 2026-01-22 15:56:00 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/26

State: closed
Merged: No


Merge can sometimes add the same entity twice into a collection.

As far as I can tell I am using unwrap() in order to check whether the element already exists in the array, but then calling >add() directly on the PersistentCollection rather than the ArrayCollection, triggering $this>changed().

**Original Pull Request:** https://github.com/doctrine/orm/pull/26 **State:** closed **Merged:** No --- Merge can sometimes add the same entity twice into a collection. As far as I can tell I am using unwrap() in order to check whether the element already exists in the array, but then calling >add() directly on the PersistentCollection rather than the ArrayCollection, triggering $this>changed().
admin added the pull-request label 2026-01-22 15:56:00 +01:00
admin closed this issue 2026-01-22 15:56:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7612