Problem/Motivation
The module just doesn't work with structures that have terms with the same names in a vocabulary, even if their position in the tree is on a completely different branch. Also multi-parent terms are not supported at all.
Steps to reproduce
Try to export and import taxonomies where terms in the tree have the same names or have multiple parents.
Proposed resolution
- Use UUID instead of name when checking if a term exists in a vocabulary.
- Apply tree structure after all the terms are imported, not during import.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | structure_sync-multi-name-parent-support-3177106-2.patch | 16.07 KB | graber |
Issue fork structure_sync-3177106
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
graber commentedComment #3
graber commentedUpdated issue description a bit so it carries some basic information now.
Comment #4
steelstrung commentedI think the priority on this one should be higher - Structure Sync doesn't provide mcuh value if it won't import the whole taxonomy in this common scenario.
Comment #5
steelstrung commentedPatch test failed
Comment #6
graber commented3 years ago it worked 😂 wish I remembered the project it was for.
Looks like maintainers missed this.
Comment #7
wolcen commentedLooks like this proposed solution includes some client-specific code: