Ok, fresh Drupal 6-19 installation.

Stock core modules enabled only. Nothing changed from stock installation.

Installed and enable latest CTools as it shows to be a requirement for SalesForce modules.

Enabled the following SalesForce modules:

Salesforce API
Salesforce Contrib
Salesforce Match
Salesforce Node
Salesforce User

Updated with our SFDC Sandbox WSDL.

Overrode the predefined User to Contact mapping to also bring over the mailing address, city, state,zip and country fields that showed to be available for mapping.

Went to My Account logged in as admin user.
Went to the Salesforce tab
Chose the option to Export user to Salesforce

Received following error message:

Fatal error: Call to undefined function _sf_location_export_location() in .../sites/all/modules/salesforce/salesforce_api/salesforce_api.module on line 782

If I disable the Salesforce Contrib module, this error goes away however the the mailing address fields no longer show for mapping. Actually I was surprised to see these in the Salesforce module field mappings since I have not installed the location, user location nor node location modules.

Comments

tech4him’s picture

Status: Active » Needs work

turns out to be an easy fix. Now, I'll have to learn how to roll a patch but for now here is a quick explanation. It appears when the sf_location module was added to sf_contrib, two functions were renamed:

_sf_location_export_location to _sf_contrib_export_location
_sf_location_import_location to _sf_contrib_import_location

however the declarations in lines 27-86 of these two functions still referenced the older name. I changed all of the references of _sf_location_* to _sf_contrib_* and it appears to be good to go.

aaronbauman’s picture

Status: Needs work » Fixed

these fixes are committed to latest dev

Status: Fixed » Closed (fixed)
Issue tags: -location

Automatically closed -- issue fixed for 2 weeks with no activity.