Allow terms to have the same name if they have different parent and level

Created on 5 November 2023, 8 months ago

Problem/Motivation

I have a use case where I have to import a hierarchical structure with term that can have the same name at different levels of the hierarchy.

Think for example states and cities. "New York" on root level for the state, but also "New York" as a child of that state term for the city
The term "New York" is duplicated but as long as the parent and level are different should be valid.

Steps to reproduce

Add this to a CSV file and try to import it.

0,1
New York,
,New York
,Buffalo
California,
,Los Angeles
,San Diego

Proposed resolution

Change the validation to allow this use case. Make this validation optional on the import form if needed.

✨ Feature request
Status

Needs review

Version

1.2

Component

Code

Created by

πŸ‡¦πŸ‡·Argentina matias

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024