[PR #11564] GH11551 - fix OneToManyPersister::deleteEntityCollection case where single-inheritence table parent entity is targetEntity. #13102

Open
opened 2026-01-22 16:16:11 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


Fixes https://github.com/doctrine/orm/issues/11551

When using the parent entity for a single-inheritence table as the targetEntity for a property, the discriminator value should be all of the values in the discriminator map.

OneToManyPersister::deleteEntityCollection has been amended to reflect this.

**Original Pull Request:** https://github.com/doctrine/orm/pull/11564 **State:** closed **Merged:** Yes --- Fixes https://github.com/doctrine/orm/issues/11551 When using the parent entity for a single-inheritence table as the targetEntity for a property, the discriminator value should be all of the values in the discriminator map. OneToManyPersister::deleteEntityCollection has been amended to reflect this.
admin added the pull-request label 2026-01-22 16:16:11 +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#13102