mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
ZF2 Doctrine2.4 : One-to-many save association giving foreign key null #5177
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 @ravigupta112 on GitHub (Jul 5, 2016).
Originally assigned to: @Ocramius on GitHub.
Hi,
I am trying to save the data into multiple tables using oneToMany relation, but it gives me null value for a foreign key.
ZF2 and doctrine
@ravigupta112 commented on GitHub (Jul 5, 2016):
1 Entity
@ravigupta112 commented on GitHub (Jul 5, 2016):
2 Entity
@ravigupta112 commented on GitHub (Jul 5, 2016):
Controller
@Ocramius commented on GitHub (Jul 5, 2016):
Closing, since this is not a bug report, but a help request.
Please refer to IRC, the mailing list or stackoverflow, providing a stack trace showing your problem, as well as the complete error message and error type.