mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2393: Doctrine ORM put null to relation field when write persisting #3007
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 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 @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 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 @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):
Issue was closed with resolution "Incomplete"