Account


Earned badges

Achievement: Latest Unlocked

Topic Started

This user has not created any forum posts.

Replies Created

Reply to: Salesforce Test Class Error

0 votes

Hi Duo, Shrishi, Charles,

Just want to quickly pitch in: i'm having the same issue. I've essentially limited the test-code to:

        ESL__Package__c TestPackage = new ESL__Package__c();
        //TestPackage.ESL__Status__c = 'Draft';
        //TestPackage.ESL__Opportunity__c = TestOpportunity.id;
        //TestPackage.ESL__Silanis_Package_Id__c = 'Test_ID_For_APEX_Unit_Test';
        insert TestPackage;

I've tried above both with the fields added 'in line', on loose lines, and (as displayed above) even commented them out. Sadly without luck, the error persists.

The Debug log seems to indidate that, once I insert the ESL__Package__c object the Managed Package starts doing 'things'. The last 'thing' it does is described/logged as "13:19:07.757 (3207700530)|DML_BEGIN|[734]|Op:Insert|Type:ESL__ReminderConfiguration__c|Rows:1", after that it crashes. I've attached the log to this post.

Can you advise?


Attachments

Subscriptions

Topics Replies Freshness Views Users

We are working on creating Onespan transactions in Salesforce and have written out some Apex Trigger code to assist with the process.

7 2 months 2 weeks ago 265
Profile picture for user Duo_Liang

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.