In sf_node.module, sf_node_nodeapi needs to check $options on case $op equals 'insert'. So
$options = salesforce_api_fieldmap_options('node_'. $node->type, NULL, TRUE);
should be
$options = salesforce_api_fieldmap_options('node_'. $node->type, NULL, TRUE);
if ( empty($$options) ) {
return;
}
Otherwise code attempts to export content type even with out a valid map.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | sf_node.module.patch | 485 bytes | aaronbauman |
Comments
Comment #1
aaronbaumanComment #2
aaronbaumanComment #3
Bevan commentedCommitted to DRUPAL-6--2 in commit #202448 http://drupal.org/cvs?commit=202448
I thought I was only committing the whitespace changes, and not this patch too, so I forgot to give due credit.
Comment #4
Bevan commented