Hi Gabriel,
I have take a look at both screenshots and everything looks as it should be. In first screenshot fetchFails we have tried to fetch the UserAvatar and in case if there isn't any in the database we return null (at this point UserAvatar entity / object is out of sync which is normal), and after that we need to create a new UserAvatar object and put the avatar image inside and then save the entity.
Note: we aren't refetching entity so UserAvatar entity is out of sync again which is normal - we don't need to access entity and therefor we aren't fetching it. If you need to refetch the entity change the following:
From
rep.SaveEntity(uAvatar);
To
rep.SaveEntity(uAvatar,
true
);
Generally from the screenshots provided I can't see much so I'll need an access to the Web site again, I have tried but it wasn't accessible. Let me know when you put your Web site on-line again so I can try to check the issue.
BTW - can you please post your questions to your Priority forum so we can address them faster, thanks.
Regards