I discovered yesterday that the reason why the sync was not working for user profiles was that there was no logic in the submit handler to save that variable.

I manually did a variable_set() yesterday (using devel's "execute php" function) to define the fieldmap for "uc_sf_order_user_export_fieldmap", but that was not a sustainable solution, so today, I resolved this by adding the following two lines to the uc_sf_order_salesforce_api_settings_form_submit() submit handler function:

$user_export_fieldmap = $form_state['values']['uc_sf_order']['export_default']['user_fieldmap'];
variable_set('uc_sf_order_user_export_fieldmap', $user_export_fieldmap);

If/when I get maintainership/CVS access, this will be committed to the module as part of #811258: Compatibility with latest dev, code cleanup, some bug fixes.

Comments

EvanDonovan’s picture

Status: Active » Postponed

Postponed on the commit of the aforementioned issue.

EvanDonovan’s picture

Status: Postponed » Fixed

Fixed in alpha2.

Status: Fixed » Closed (fixed)

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