• JamieG
  • NEWBIE
  • 5 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies

Has anyone else come across this? I am able to connect to my production org with OAuth (tested via CURL) and get an access_token using a consumer key/secret that isn't listed under my Connected Apps?  It may have been a valid key/secret at one time before I joined the company but it is definitely not listed under our Connected Apps now yet I'm still able to authenticate via OAuth using it.  If change one character in the key it fails (as I would expect).

 

 

  • November 12, 2013
  • Like
  • 0
Hi All,

Is there is any possible way to identify when a new territory is assigned to account. Actually when we assign territory to account a record of object ObjectTerritory2Association is created. But we cannot write trigger on ObjectTerritory2Association. So is there anything through which i can identify same in Apex. Anyother solution like creating fields or trigger on any object through which i can acheive same.
Hi,

We are trying to move Reports from Sandbox to Production, but we got the below error while validating the deployment:

Component Errors:

TestCallResultTrigger.testAssignment(), Details: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED,
 
CallResult; null, Details: Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required; Average test coverage across all Apex Classes and Triggers is 0%, at least 75% test coverage is required.
 
Apex Test Failures:
 
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. <br>common.exception.AssertionException: ORA-20070: Cannot read from apex_class and apex_trigger while running tests ORA-06512: at "BASHFUL.ASSERT", line 11 ORA-06512: at "BASHFUL.ASSERT", line 41 ORA-06512: at "BASHFUL.CAPEX", line 3095 ORA-06512: at "BASHFUL.CAPEX", line 3088 ORA-06512: at "BASHFUL.CAPEX", line 194 ORA-06512: at line 1 SQLException while executing plsql statement: {call cApex.get_classes_blk_nc(?,?,?,?,?,?,?,?)}(00D28000000HS3L, [ EXCLUDED (10) ], [ null ], [ EXCLUDED (15) ], EXCLUDED, EXCLUDED, EXCLUDED, EXCLUDED) Cannot read from apex_class and apex_t 
Stack Trace: Class.TestCallResultTrigger.setupTestData: line 57, column 1 Class.TestCallResultTrigger.testAssignment: line 87, column 1

Please find the screenshot below:

User-added image

May we know the reason and how do we rectify this error? We don't see any Flows in Sandbox.

Please let us know for any clarification.

Has anyone else come across this? I am able to connect to my production org with OAuth (tested via CURL) and get an access_token using a consumer key/secret that isn't listed under my Connected Apps?  It may have been a valid key/secret at one time before I joined the company but it is definitely not listed under our Connected Apps now yet I'm still able to authenticate via OAuth using it.  If change one character in the key it fails (as I would expect).

 

 

  • November 12, 2013
  • Like
  • 0