In sf_node, we have this bit of code:
// Create a table for the unmapped fields.
$header = array(t('Field name'), t('Salesforce @type value', array('@type' => salesforce_api_fieldmap_object_label('salesforce', $map->salesforce))));
$rows = array();
foreach ((array) $sf_data as $key => $value) {
if (!isset($map->fields[$key]) && isset($object['fields'][$key])) {
$rows[] = array(
$object['fields'][$key]['label'],
$value,
);
}
}
$object does not exist. The proper variable name is $sf_object_definition. Because of this, all fields appear to be mapped.
sf_user looks to be fine.
Comments
Comment #1
dpearcefl commentedPatch attached. I also set the fieldset to be collapsed.
Comment #2
dpearcefl commentedBump. Thanks everyone.
Comment #3
kostajh commentedThis is a major issue - did this recently break? How have people been using sf_node up until now with this not working?
I'll try to get this in later today or tomorrow.
Comment #4
dpearcefl commentedI'm not sure this is a major issue but you would know. I can't say when it broke as I never knew the fieldset was even supposed to be there until I found it in the code.
Comment #5
dpearcefl commentedOK, so I was wrong, sf_user is also broken. Attached is a patch for sf_user and sf_node.
So much new information.
Comment #6
dpearcefl commentedComment #7
kostajh commentedThanks Dave, this is committed: http://drupalcode.org/project/salesforce.git/commit/09ca5ff