嗨夥計我有一個關於在實體FosUserBundle實施一對一的問題。FOSUserBundle一對一映射實體沒有保存
用戶實體與配置文件實體具有一對一映射。我已經按照FOSUserBundle的文檔中所示覆蓋了基本的RegistrationFormType。記錄也保存在兩張表中。但映射實體顯示空白數據。請查找相同的重要的要點文件。
UserEntity Gist- https://gist.github.com/ajaypatelbardoli/2f0c81cbdf3b0d136785
ProfileEntity吉斯特 - https://gist.github.com/ajaypatelbardoli/fd02025fd338ed90545e
ProfileFormType要點 - https://gist.github.com/ajaypatelbardoli/18ef99a3d0bd1198debc
RegistratonFormType吉斯特 - https://gist.github.com/ajaypatelbardoli/09c047425032391c2445
你究竟在哪裏得到空白數據? – andy 2014-10-10 18:55:53
在配置文件實體表 – 2014-10-13 05:43:42
您的問題表明,表正確更新?還要注意,教義只會將關係中的信息存儲在關係中。 – andy 2014-10-13 07:29:49