DDC-748: BasicEntityPersister::refresh() broken with ManyToOne relationships #923

Closed
opened 2026-01-22 12:55:40 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 16, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user jasu_m:

ManyToOne relationships are defined as an owning side of OneToOne relationships. This makes BasicEntityPersister to believe that it is refreshing a OneToOne relationship, resulting in the inverse end (collection) to be replaced with the entity being refreshed rather than a collection. (in BasicEntityPersister.php:662 in Beta 3)

Originally created by @doctrinebot on GitHub (Aug 16, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user jasu_m: ManyToOne relationships are defined as an owning side of OneToOne relationships. This makes BasicEntityPersister to believe that it is refreshing a OneToOne relationship, resulting in the inverse end (collection) to be replaced with the entity being refreshed rather than a collection. (in BasicEntityPersister.php:662 in Beta 3)
admin added the Bug label 2026-01-22 12:55:40 +01:00
admin closed this issue 2026-01-22 12:55:40 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 12, 2010):

Comment created by @beberlei:

Fixed!

@doctrinebot commented on GitHub (Sep 12, 2010): Comment created by @beberlei: Fixed!
Author
Owner

@doctrinebot commented on GitHub (Sep 12, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Sep 12, 2010): 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#923