• Administrator 359
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hi All,
I am trying to deploy a changeset but I am getting the below error from a test class although it is working on the sandbox and it was not giving this error before for previous deployments
 
ClinicTriggerUnDelete_Test  System.DmlException: Undelete failed. First exception on row 0 with id a040Y00000NDcrIQAT; first error: UNKNOWN_EXCEPTION, common.exception.SfdcSqlException: ORA-00904: "C"."CONVERSION_RATE": invalid identifier select /*SummaryFieldUtil summary query*/ /*+ ordered use_nl(v cf) */ nvl(sum(1),0) rsf1,nvl(sum(TO_NUMBER(cf.val41)),0) rsf2,nvl(sum(TO_NUMBER(cf.val44)/ c.conversion_rate),0) rsf3, v.foreign_key_id "parent_id" from (select * from table(cast(? AS ID_ARRAY))) t, core.custom_foreign_key_value v, core.custom_entity_data cf where v.organization_id = ? and v.foreign_key_id = t.column_value and v.key_prefix = ? and v.index_num = ? and v.deleted = '0' and cf.organization_id = v.organization_id and v.entity_id = cf.custom_entity_data_id a
Stack Trace: Class.ClinicTrigger_Test.ClinicTriggerUnDelete_Test: line 142, column 1
and here is the test method that is causing the error
@isTest 
    static void ClinicTriggerUnDelete_Test() {
        List<Clinic__c> clinicList = new List<Clinic__c>([SELECT Id, Name FROM Clinic__c]);
        List<User_Clinic__c> userClinicList = new List<User_Clinic__c>([SELECT Id, Name FROM User_Clinic__c]);
        List<User_Examination_Room__c> userRoomList = new List<User_Examination_Room__c>([SELECT Id, Name FROM User_Examination_Room__c]);
        
        delete userRoomList;
        delete userClinicList;
        delete clinicList;
        
        Test.startTest();
        
        undelete clinicList;
        
        Test.stopTest();
    }


 
Hi all,

I am using a Big Object. I defined it and deployed it with Metadata API.

I have a trigger that calls a future method to insert records to Big Object.
It is working fine on the Sandbox (Developer and Partial Copy).

When I deployed my code to Production I get the following error
[REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.

When I use the Developer console to query the Big Object I also get the same error.

Can anyone help

Thanks.
Hi all,

I am using a Big Object. I defined it and deployed it with Metadata API.

I have a trigger that calls a future method to insert records to Big Object.
It is working fine on the Sandbox (Developer and Partial Copy).

When I deployed my code to Production I get the following error
[REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.

When I use the Developer console to query the Big Object I also get the same error.

Can anyone help

Thanks.