Solution Deployed
Uncategorized
Contact record may not be available to a portal user after merging two contacts
Summary
After merging two Contacts (Contact A - customer portal user and Contact B set as Master contact), the newly created Contact is not available to the portal user in SOQL query on Contact for an hour or two. Since it is not available, the code accessing the list of contacts results in an error. The issue resolves itself after couple hours.
This is happening because the UserInfo cache is not getting refreshed after contact merge. In the UserInfo cache, portal user id is still mapped to old contact A id.
This is happening because the UserInfo cache is not getting refreshed after contact merge. In the UserInfo cache, portal user id is still mapped to old contact A id.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 1 report
Nov 30, 2026