Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 6 comments

2 participants

@doctrinebot

Jira issue originally created by user hell0w0rd:

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

@doctrinebot

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

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

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

Comment created by hell0w0rd:

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

@doctrinebot

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

Issue was closed with resolution "Incomplete"

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.