QUESTION:
DupeBlocker install/unit tests failing with the following error, how can I resolve?
- CRMfusionDBR101.DB_AutoConvert_UnitTests.testAsyncConvert_LeadToContact_Task 1749.0 System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Lead.Title (CRMfusionDBR101)
ANSWER:
This error indicates that the field referenced in the error (i.e. Lead.Title in the above example) is not visible to the profile that is performing the install or running the unit tests.
To check/change field level visibility in Salesforce go to Setup->Customize->Leads->Fields then click on the field and click "Set Field Level Security". Make sure the "visibility" box is checked for your profile, and then reinstall or rerun your unit tests.