Skip to content

Hierarchy Structure is lost in imported terms when names are repeated #153

@mrfoxtalbot

Description

@mrfoxtalbot

When importing terms for a hierarchical taxonomy, the parent-child structure will be lost if names are repeated.

Below is an example of this (in brackets, the slug)

– Computers (computers)
– – Software (software)
– – – Audio (audio)
– – – Video (video)
– Phones (phones)
– – Software (software-2)
– – – Audio (audio-2)
– – – Video (video-2)

How to reproduce:

  1. Create several nested categories.
  2. Ensure some of the child terms hace the same name
  3. Export
  4. Import
  5. Notice how all terms are imported as "top level" ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions