Closed (fixed)
Project:
CRM - Contact Relationship Management
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2026 at 16:39 UTC
Updated:
1 Feb 2026 at 19:44 UTC
Jump to comment: Most recent
Comments
Comment #3
svendecabooterThis is because the user contact mapping logic that alters the user form, also gets triggered on /user/register, but at that point it doesn't reference a valid user object yet (still needs to be registered at this point).
So I have added an extra check for this now in the MR.
I also moved 2 code blocks higher up, before the entity query, since it would make sense to first do these simple checks, before performing a database query, which is only relevant if the 2 other checks actually pass. If this is not deemed appropriate within the context of this issue, this can be reverted.
Comment #6
bluegeek9 commented