"Hello Adalo Community,
I’m developing an MVP for a platform that connects athletes with clubs/agents/recruiters using Adalo. I’ve encountered a persistent issue with user profile updates, specifically concerning email validation.
My application has two user roles: ‘Athlete’ and ‘Recruiter’. For ‘Athlete’ roles, I have two registration scenarios:
- Athletes who are of legal age can register themselves.
- Athletes who are minors must be registered by their legal guardians.
The initial registration process works correctly. However, when a minor athlete, registered by their guardian, attempts to edit their profile, the update fails due to an ‘email already in use’ error. It seems that Adalo is treating the profile update as a new registration, rather than an update to the existing record, and therefore the email validation is triggered incorrectly.
Here’s a breakdown of the problem: - The initial registration, performed by the legal guardian, stores the athlete’s information correctly.
- When the athlete tries to edit their profile, the update is blocked by an ‘email already in use’ error.
- It appears that Adalo is requesting a new email validation during the profile update.
I’ve checked the ‘update record’ actions, but I can’t seem to find the source of the problem.
Has anyone else encountered a similar issue? Any advice on how to correctly configure the profile update process to avoid this duplicate email validation error would be greatly appreciated.
Thank you in advance for your help.