Closed (fixed)
Project:
Ubercart / Salesforce Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2010 at 19:07 UTC
Updated:
24 Nov 2010 at 22:50 UTC
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
Comment #1
EvanDonovan commentedPostponed on the commit of the aforementioned issue.
Comment #2
EvanDonovan commentedFixed in alpha2.