I just ran into this issue: a record has been imported and one of the mapped fields is a SF read-only field. When I update the node in drupal and push the ne info to SF this comes up:
Error message: "Unable to create/update fields: Parent_Menu_Link_id__c. Please check the security settings of this field and verify that it is read/write for your profile or permission set.". The Salesforce link has been removed.
Isn't there a way to warn without removing the link? In the previous version you could update read-only fields as much as you wished with not such a strong consequence.
PS: I'm using a SF profile with all permissions.
Comments
Comment #1
nicodv commentedComment #2
nicodv commentedComment #3
cellar door commentedI agree that this is counterproductive to remove the link in the event of an error. In the event of an error report it to the log and abort the sync but de-linking the two entities causes a cascade of issues when they go to sync again.
Comment #4
kostajh commentedComment #5
bleedev commentedPlease test against the latest code. If an entity has a valid ID, mapping failures should no longer remove the mapping.
Comment #6
tauno commentedMarking as fixed based on the latest code. Re-open if something is still broken.
Comment #7
noise98 commentedIs that fix in the latest dev release ?
Is it for the salesforce_push module ? Still seeing this line in the source code, when there's an error updating the salesforce object.
$mapped_objects->delete();
Thanks