[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



There is my bundle, for more details:

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 Tue Dec 01 20:43:54 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.