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

Fixed issue #59: Nils being inserted into updates that don't have them. #67

Merged
merged 1 commit into from
Sep 29, 2018

Conversation

djmassad
Copy link
Contributor

I was able to reproduce and fix this bug. If a field was being set to nil for one record in an update, the nil was being applied to that field in all rows of the update. Since the lack of a hash key could return nil, I have added a condition to the last elsif in the create_sobject method that checks if the key exists in the hash. If it exists, then that field will be set to nil. Otherwise, the field will not be set.

@yatish27 yatish27 merged commit 299b118 into yatish27:master Sep 29, 2018
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

Successfully merging this pull request may close these issues.

2 participants