DDC-2393: Doctrine ORM put null to relation field when write persisting #3007

Closed
opened 2026-01-22 14:09:38 +01:00 by admin · 6 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 7, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user hell0w0rd:

There is my bundle, for more details:
https://github.com/hell0w0rd/bad-doctrine-entities

Originally created by @doctrinebot on GitHub (Apr 7, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user hell0w0rd: There is my bundle, for more details: https://github.com/hell0w0rd/bad-doctrine-entities
admin added the Bug label 2026-01-22 14:09:38 +01:00
admin closed this issue 2026-01-22 14:09:39 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Comment created by @ocramius:

Can you please make an example of what the failure you're experiencing looks like? What is being done? What is the expected result? What is the experienced behaviour?

@doctrinebot commented on GitHub (Apr 7, 2013): Comment created by @ocramius: Can you please make an example of what the failure you're experiencing looks like? What is being done? What is the expected result? What is the experienced behaviour?
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Comment created by hell0w0rd:

When controller persist object, I'm expecting orm put not null into relation field in fact it is not so.

@doctrinebot commented on GitHub (Apr 7, 2013): Comment created by hell0w0rd: When controller persist object, I'm expecting orm put not null into relation field in fact it is not so.
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Comment created by @ocramius:

[~hell0w0rd] the example at https://github.com/hell0w0rd/bad-doctrine-entities/blob/master/DeskBundle/Controller/PostController.php#L15-L21 is not enough to open an issue. Can you please build a simple script that does not involve third party components and that reproduces your problem? It should work only with the ORM.

@doctrinebot commented on GitHub (Apr 7, 2013): Comment created by @ocramius: [~hell0w0rd] the example at https://github.com/hell0w0rd/bad-doctrine-entities/blob/master/DeskBundle/Controller/PostController.php#L15-L21 is not enough to open an issue. Can you please build a simple script that does not involve third party components and that reproduces your problem? It should work only with the ORM.
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Comment created by hell0w0rd:

My issue is closely connected with third party components, because they decouple from each other - is not to decide

@doctrinebot commented on GitHub (Apr 7, 2013): Comment created by hell0w0rd: My issue is closely connected with third party components, because they decouple from each other - is not to decide
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Comment created by @ocramius:

Then it's impossible for us to decide what the cause is. I'm closing this one - consider reproducing the problem locally and then deciding whether this is an ORM or a symfony form problem.

@doctrinebot commented on GitHub (Apr 7, 2013): Comment created by @ocramius: Then it's impossible for us to decide what the cause is. I'm closing this one - consider reproducing the problem locally and then deciding whether this is an ORM or a symfony form problem.
Author
Owner

@doctrinebot commented on GitHub (Apr 7, 2013):

Issue was closed with resolution "Incomplete"

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

No dependencies set.

Reference: doctrine/archived-orm#3007