Closed (fixed)
Project:
Salesforce Suite
Version:
6.x-2.x-dev
Component:
sf_node
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2011 at 16:57 UTC
Updated:
23 May 2011 at 18:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
dpearcefl commentedComment #2
dpearcefl commentedDOH! Better patch attached.
Comment #3
kostajh commentedThanks for submitting this. This looks fine but the same would be needed for sf_user too. Also, I think it would be better if this issue #1058920: Create generic upsert function (for use in all cases of Drupal->SF entity export, etc.) gets addressed first.
Comment #4
dpearcefl commentedI completely agree but that issue has sat undisturbed for almost three months. Unless someone agrees to take it on now, perhaps this issue (that has a patch) should proceed.
Comment #5
kostajh commentedOk, fair enough. Do you have time to write the corresponding code for sf_user?
Comment #6
dpearcefl commentedSure. It will be a day or two.
Comment #7
dpearcefl commentedPatched attached to address similar issues in sf_user and sf_node.
Comment #8
dpearcefl commentedBetter patch. I included a dump of $e in the watchdog entry when a failure occurs. Lots of good info in there for debugging.
Comment #9
kostajh commentedWould you mind rebasing this against 6.x-2.x-dev? I'll make sure it gets in soon after.
Comment #10
dpearcefl commentedPatch attached.
Comment #11
kostajh commentedGreat, thank you! Committed: http://drupalcode.org/project/salesforce.git/commit/3ff527c