Association with account is empty

Hi,  I tried retrieving the current user data to show it on the user's home page, but that didn't help.  When I added a breakpoint to check where the mistake was, I found out that the value of the association between the entity (patient) and the account was empty and did not have any id.  How can I prevent this problem? Can someone help me, please?   Thank you in advance.
1 answers

Hi Noor Alayoubi,


You can check your account creation process because the account is not mapped with Employee or Patient when you create a Patient or Employee that must be mapped with the Account.