On upsert: "Integrity constraint violation: 1062 Duplicate entry 'XXX' for key 'salesforce'"

Created on 1 September 2015, over 9 years ago
Updated 11 June 2024, 7 months ago

For an upsert, sf push can result in an "Integrity constraint violation" if Drupal thinks its creating, but it's actually updating.

Before saving a mapping object, sf push should check for existence of the sfid and update instead of create if it exists.

🐛 Bug report
Status

Needs work

Version

3.0

Component

salesforce_push.module

Created by

🇺🇸United States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024