CRMfusion Forums

Dupeblocker causes an error that prevents contact creation when NPSP is installed  

  RSS

TC
 TC
(@tcqsac)
New Member
Joined:5 months  ago
Posts: 2
January 19, 2018 9:06 am  

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?

 

Thanks!


ReplyQuote
Vance Crew
(@vance-crew)
Established Member
Joined:1 year  ago
Posts: 18
February 22, 2018 4:01 pm  

What made them think it was DupeBlocker? It looks like your trigger noted in the error is the issue. Have you tried disabling the trigger to see if the error goes away?

 


ReplyQuote
TC
 TC
(@tcqsac)
New Member
Joined:5 months  ago
Posts: 2
February 23, 2018 8:12 am  

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.


ReplyQuote
Olivia Hinkle
(@oliviahinkle)
Data Super Hero Admin
Joined:1 year  ago
Posts: 305
February 23, 2018 9:20 am  

Thanks for the update and sharing this information!

Edited: 4 months  ago

Olivia M.J. Hinkle
Product Adoption Manager
Validity


ReplyQuote
Share: