Closed daveb-501commons closed 5 years ago
@groundwired - added 2 fixes
1) Birthdate off by a day because Date constructor in JavaScript interprets the value as GMT then converts to the browser time zone
2) Sync w/ the NPSP account rename logic when change to account by setting Account name to REPLACE
Hey @daveb-501commons I hope you are well.
I finally got around to merging this NPSP migration into my codebase, and I'd like to test and make a couple minor changes. However, I am having trouble getting it to work in my scratch org - I get an error about the "npsp" namespace (see the log below). Any ideas what I am missing?
[Failed]: Update of CustomField Account.Level__c: Error on line 153, col 13: referenceTo value of 'npsp__Level__c' does not resolve to a valid sObject type
Update of Layout Contact-FoodBank Layout: Error on line 32, col 26: In field: field - no CustomField named Contact.npsp__Primary_Affiliation__c found
Update of CustomField Account.Previous_Level__c: Error on line 244, col 13: referenceTo value of 'npsp__Level__c' does not resolve to a valid sObject type
Update of CustomApplication Food_Bank_Service: Error: This App Name already exists or has been previously used. You must enter a different unique name.
Update of CustomApplication Food_Bank_Service: Error: In field: tab - no CustomTab named npsp__Contact_Merge found
Update of Profile Food Bank Standard User: Error: Permission Read All Food_Bank_Visit__c depends on permission(s): Read All Account
Update of Profile Food Bank Admin: Error: In field: field - no CustomField named Account.Level__c found
Update of Profile Admin: Error: In field: field - no CustomField named Account.Level__c found
Error: Update of CustomField Account.Level__c: Error on line 153, col 13: referenceTo value of 'npsp__Level__c' does not resolve to a valid sObject type
Update of Layout Contact-FoodBank Layout: Error on line 32, col 26: In field: field - no CustomField named Contact.npsp__Primary_Affiliation__c found
Update of CustomField Account.Previous_Level__c: Error on line 244, col 13: referenceTo value of 'npsp__Level__c' does not resolve to a valid sObject type
Update of CustomApplication Food_Bank_Service: Error: This App Name already exists or has been previously used. You must enter a different unique name.
Update of CustomApplication Food_Bank_Service: Error: In field: tab - no CustomTab named npsp__Contact_Merge found
Update of Profile Food Bank Standard User: Error: Permission Read All Food_Bank_Visit__c depends on permission(s): Read All Account
Update of Profile Food Bank Admin: Error: In field: field - no CustomField named Account.Level__c found
Update of Profile Admin: Error: In field: field - no CustomField named Account.Level__c found
Hi @groundwired (Evan),
Did you run update_dependencies? This will install NPSP into your scratch org.
cci task run update_dependencies
@groundwired
Evan - sorry about the big PR. In the future I'll work on sending smaller PRs.
The code has been in production on White Center Food Bank for the last 2 months working without any issues.
60
59
58
55
42
26
20