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

add FieldHistory suffix to find_parent function #52

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

nick-mccoy
Copy link
Contributor

@nick-mccoy nick-mccoy commented Sep 7, 2018

The OpportunityFieldHistory export was failing since the find_parent() function was finding the suffix History, and returning the parent as OpportunityField.

This PR adds a check for the suffix FieldHistory (before looking for History) so that Opportunity is correctly returned as the parent.

@nick-mccoy nick-mccoy merged commit b85799d into master Sep 7, 2018
@nick-mccoy nick-mccoy deleted the add_FieldHistory_suffix branch September 7, 2018 12:50
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.

1 participant