Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nils being inserted into updates that don't have them. #59

Open
RealNobody opened this issue Mar 4, 2016 · 0 comments
Open

Nils being inserted into updates that don't have them. #59

RealNobody opened this issue Mar 4, 2016 · 0 comments

Comments

@RealNobody
Copy link

I'm trying to use the gem, but I can't because it is inserting NIL values where I don't want them.

The basic problem is this:

data = [ { id: '1', Field_1__c: nil}, { id: '2', Field_2__c: nil] } ]

bulk_api.update(:contact, data, true, true)

What I expect is for record 1 to have Field_1__c set to nil, and record 2 to have Field_2__c set to nil. What I get is both records having both fields blanked out.

djmassad pushed a commit to FronteraConsulting/salesforce_bulk_api that referenced this issue Apr 27, 2017
yatish27 added a commit that referenced this issue Sep 29, 2018
Fixed issue #59: Nils being inserted into updates that don't have them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant