Hello,
I described the problem in an other thread too, but I will open a new thread. I should say, that I a newbie in drupal and in Salesforce. For a Project we will synchronize Cases between Salesforce and Drupal. The sync from Drupal to Salesforces works fine, but the other way is a hard coded bug. In function _salesforce_sync_get_object_data the $obj_fields includes the 'Name' field. This field exists in several Salesforce database tables but not in Cases. If this function is a generic one, the $obj_fields only synchronize the fields from "$field_map = _salesforce_sync_get_field_map($node_type);" and no hard coded one. In the Case case there the answer of Database is every time empty.
I fixed the problem myself by checking:
if ($type == "Case") {
$obj_fields = array('Subject');
} else {
$obj_fields = array('Name');
}
.
The subject field I also could synchronize via field_map, but it's not implemented yet.
Thanks for contemporary fixing the problem/bug. I'm interested in developing the modul, so every hint is welcome.
Daniel
Comments
Comment #1
eojthebraveShould be fixed by this update. http://drupal.org/node/193235#comment-708565
Comment #2
victorkane commentedWell, the functionality is out of scope (of legacy module) and the foregoing patch is really for another module (salesforce_case).