Dupeblocker causes an error that prevents contact creation when NPSP is installed
I am testing upgrading to NPSP v3 in a sandbox. We also have the latest version of Dupeblocker installed. After the NPSP upgrade we received the below error when creating a contact record.
Apex trigger npsp.TDTM_Contact caused an unexpected exception, contact your administrator: npsp.TDTM_Contact: execution of AfterInsert caused by: System.StringException: Invalid id: <removed> Phone: (npsp)
Opening a case with salesforce resulted in them identifying that an exception occurred with the dupeblocker package. Has anyone else encountered this after upgrading to NPSP v3?
It turns out the root cause was due to the changes in NPSP 3. I had to update settings in the Household settings in custom settings. Prior to the upgrade, there are two settings labeled as "Household Creation Excluded Record Type" and "Membership Record Type Names" where you can store record type Id values. In NPSP 3, the settings only accept record type labels instead of the id value. This has been filed as an issue in github for NPSP. Hope this helps out anyone else that encounters the same problem.