[DDC-2393] Doctrine ORM put null to relation field when write persisting Created: 07/Apr/13  Updated: 07/Apr/13  Resolved: 07/Apr/13

Status: Closed
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.3.3
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Nikita Assignee: Marco Pivetta
Resolution: Incomplete Votes: 0
Labels: None
Environment:

symfony2.2



 Description   

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



 Comments   
Comment by Marco Pivetta [ 07/Apr/13 ]

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?

Comment by Nikita [ 07/Apr/13 ]

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

Comment by Marco Pivetta [ 07/Apr/13 ]

Nikita 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.

Comment by Nikita [ 07/Apr/13 ]

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

Comment by Marco Pivetta [ 07/Apr/13 ]

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.

Generated at Thu Jul 31 07:43:49 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.