no data on sf
tutube - July 2, 2009 - 19:40
| Project: | Salesforce Webform Lead Form Integration |
| Version: | 5.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I am running drupal 5.19, webform only contains last name, company and the sid. no error after submitted form,
but data are not in salesforce leads. wireshark sniffer did show conversation between my machine and salesforce.
I saw following records at my developer account of sf after each submit:
Username Login Time Source IP Login Type Status Browser Platform Application Client Version API Type API Version
[myemail] 7/2/2009 2:50:39 PM EDT [myip] Other Apex API Success Unknown Unknown N/A N/A SOAP Partner 13.0
so it is not issue of login failure.
anyone knows how to debug or where I should look at?
I appreciate your help!

#1
I can add leads with just Last Name, Company, and SID, with 5.x-1.5 on my testing box. If you have Devel installed, you can check the raw array from Salesforce if you add the following line in salesforcewebform.module, line 313, right after
$results = $client->upsert("WebformSID__c", $sObjects);add:
dpr($results;)And then try to add a record. An ID will be returned on success, an error message on failure.
If it does return an error message, I can help you diagnose it.
Thanks,
Bryan O'Shea
Obsidian Design
#2
Bryan,
Thanks for your message!
I have devel installed, then I added "dpr($results);" at line 313,
added a new record, but the last page is the same as before,
no ID, no error message, any clue?
update: I installed drupal6 with webform, devel and salesforcewebform,
and did the same test, the result is the same as it on drupal5.
I have already reviewed installation steps of salesforcewebform carefully to make sure
no mistake.