• Jannie Theunissen
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 7
    Replies
In my sandbox I am debugging a Web-to-Lead issue that has to do with the custom Lead trigger code. I have a trigger handler that gets called after lead insert. The handler does a few things like creating a new Account and Case record. When I run my lead test class all the tests pass and the records are created as expected. However when I do a test web-to-lead post, no errors are reported in the browser or in the debug log, but the records are not created. Some excerpts from the debug log that indicate that the records were created are:

    08:14:52.189 (189585256)|METHOD_ENTRY|[36]|01p18000000DBJy|LeadTriggerHandler.postProcessInsert(Lead)
    08:14:52.189 (189684839)|SYSTEM_METHOD_ENTRY|[41]|String.valueOf(Object)
    08:14:52.189 (189735694)|SYSTEM_METHOD_EXIT|[41]|String.valueOf(Object)
    08:14:52.189 (189773735)|SYSTEM_METHOD_ENTRY|[41]|System.debug(ANY)
    08:14:52.189 (189787753)|USER_DEBUG|[41]|DEBUG|##*** New lead: 00Q18000001RfrzEAC
    08:14:52.189 (189797840)|SYSTEM_METHOD_EXIT|[41]|System.debug(ANY)
    08:14:52.189 (189924877)|SYSTEM_METHOD_ENTRY|[46]|System.debug(ANY)
    08:14:52.189 (189952704)|USER_DEBUG|[46]|DEBUG|##*** lead status is open and Email is: jj@example.com 

The problem goes away if I uninstall the Salesforce for Social Media app. I can only assume there is some conflict between the managed app and my own custom lead trigger code, but how can I debug the conflict if the debug log report is not reliable?

Since yesterday I am having trouble deploying changes to my sandbox. For example, when I open a test class in Developer Console and add one empty line to the file and try to save it, I get:
Deployment error message 

When I try to edit the file directly in the sandbox setup area, I get the following error message when I hit Save or Quick Save:

Data Not Available
The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page. 

Any help getting me back on track will be appreciated.
 

In my sandbox I am debugging a Web-to-Lead issue that has to do with the custom Lead trigger code. I have a trigger handler that gets called after lead insert. The handler does a few things like creating a new Account and Case record. When I run my lead test class all the tests pass and the records are created as expected. However when I do a test web-to-lead post, no errors are reported in the browser or in the debug log, but the records are not created. Some excerpts from the debug log that indicate that the records were created are:

    08:14:52.189 (189585256)|METHOD_ENTRY|[36]|01p18000000DBJy|LeadTriggerHandler.postProcessInsert(Lead)
    08:14:52.189 (189684839)|SYSTEM_METHOD_ENTRY|[41]|String.valueOf(Object)
    08:14:52.189 (189735694)|SYSTEM_METHOD_EXIT|[41]|String.valueOf(Object)
    08:14:52.189 (189773735)|SYSTEM_METHOD_ENTRY|[41]|System.debug(ANY)
    08:14:52.189 (189787753)|USER_DEBUG|[41]|DEBUG|##*** New lead: 00Q18000001RfrzEAC
    08:14:52.189 (189797840)|SYSTEM_METHOD_EXIT|[41]|System.debug(ANY)
    08:14:52.189 (189924877)|SYSTEM_METHOD_ENTRY|[46]|System.debug(ANY)
    08:14:52.189 (189952704)|USER_DEBUG|[46]|DEBUG|##*** lead status is open and Email is: jj@example.com 

The problem goes away if I uninstall the Salesforce for Social Media app. I can only assume there is some conflict between the managed app and my own custom lead trigger code, but how can I debug the conflict if the debug log report is not reliable?

Since yesterday I am having trouble deploying changes to my sandbox. For example, when I open a test class in Developer Console and add one empty line to the file and try to save it, I get:
Deployment error message 

When I try to edit the file directly in the sandbox setup area, I get the following error message when I hit Save or Quick Save:

Data Not Available
The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page. 

Any help getting me back on track will be appreciated.
 

Hello.

I have two dev orgs on EU5.  Since yesterday, I have been unable to edit any Apex code on either org using Eclipse because it takes at least 5 minutes to save.

I have tried other suggestions on the forum (such as only including certain bits of metadata in the Force.com project, but to no avail.

It does not appear to affect all orgs, as I am able to edit files using Eclipse in orgs hosted elsewhere.

Regards,

Carl
  • June 17, 2015
  • Like
  • 3
Hello.

I have two dev orgs on EU5.  Since yesterday, I have been unable to edit any Apex code on either org using Eclipse because it takes at least 5 minutes to save.

I have tried other suggestions on the forum (such as only including certain bits of metadata in the Force.com project, but to no avail.

It does not appear to affect all orgs, as I am able to edit files using Eclipse in orgs hosted elsewhere.

Regards,

Carl
  • June 17, 2015
  • Like
  • 3