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 relationship data import key lookup #723

Merged
merged 1 commit into from Apr 3, 2014
Merged

Fixed relationship data import key lookup #723

merged 1 commit into from Apr 3, 2014

Conversation

rocket0423
Copy link
Contributor

Fixed an issue where if you have more than one mappedKeyName it would not search through all of the mappedKeyNames to find the correct key for the lookup for a relationship object thus causing a duplicate item to be created in the database. The current implementation takes the first key and assumes it is the correct key. The expected workflow is to check the first key mappedKeyName then if there is no value for that key to move onto the next key mappedKeyName.1 until either a value is found or all mappedKeyNames have gone through.

Fixed an issue where if you have more than one mappedKeyName it would not search through all of the mappedKeyNames to find the correct key for the lookup for a relationship object thus causing a duplicate item to be created in the database.  The current implementation takes the first key and assumes it is the correct key.  The expected workflow is to check the first key mappedKeyName then if there is no value for that key to move onto the next key mappedKeyName.1 until either a value is found or all mappedKeyNames have gone through.
@tonyarnold
Copy link
Contributor

Thanks! I'll merge this into 3.0 as well.

tonyarnold added a commit that referenced this pull request Apr 3, 2014
Fix relationship data import key lookup not seeing more than one `mappedKeyName`
@tonyarnold tonyarnold merged commit 270078e into magicalpanda:develop Apr 3, 2014
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.

None yet

2 participants