orphanRemoval doesn't work on OneToOne bidirectional association #5456

Closed
opened 2026-01-22 15:08:10 +01:00 by admin · 3 comments
Owner

Originally created by @yurybykov on GitHub (Mar 13, 2017).

Originally assigned to: @Ocramius on GitHub.

Originally created by @yurybykov on GitHub (Mar 13, 2017). Originally assigned to: @Ocramius on GitHub.
admin added the BugIncompleteMissing Tests labels 2026-01-22 15:08:10 +01:00
admin closed this issue 2026-01-22 15:08:11 +01:00
Author
Owner

@szymach commented on GitHub (Apr 17, 2017):

Hello,
Can you share some code? Maybe you simply have wrong entity mapping.

@szymach commented on GitHub (Apr 17, 2017): Hello, Can you share some code? Maybe you simply have wrong entity mapping.
Author
Owner

@Ocramius commented on GitHub (Apr 18, 2017):

Closing as incomplete due to missing tests.

@Ocramius commented on GitHub (Apr 18, 2017): Closing as `incomplete` due to missing tests.
Author
Owner

@yurybykov commented on GitHub (Dec 24, 2017):

UPD.
It was my mistake of understanding how OneToOne relation work. I tried to remove relation from inverse side. For everybody with same please read the doc at http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/unitofwork-associations.html

@yurybykov commented on GitHub (Dec 24, 2017): UPD. It was my mistake of understanding how OneToOne relation work. I tried to remove relation from inverse side. For everybody with same please read the doc at http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/unitofwork-associations.html
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5456