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 hierarchical terms import #3568

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

daguiler
Copy link
Contributor

Fixes #3567

Summary

The terms import process was identifying hierarchical vocabularies by checking on the ParentTermId property of the TaxonomyTerm items. This is not correct because the root element of a hierarchical vocabulary doesn't have a parent element and yet it's a hierarchical item. So the root element was being imported as a simple term which affected the rest of the hierarchy.

Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks @daguiler

Copy link
Contributor

@mitchelsellers mitchelsellers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@mitchelsellers mitchelsellers added this to the 9.5.1 milestone Feb 18, 2020
@mitchelsellers mitchelsellers merged commit 6671e11 into dnnsoftware:develop Feb 18, 2020
@daguiler daguiler deleted the bugfix/DNN-36196 branch February 20, 2020 19:24
@valadas valadas modified the milestones: 9.5.1, 9.6.0 Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hierarchical vocabulary terms not importing correctly
4 participants