Problem/Motivation

A fatal error occurs after importing terms from a CSV file when the file contains a parent and child term with the same name, for example:

Type,Parent,Description
Article,,
Event,,
News,,
Offering,,
Person,,
Resource,,
Training,,
Location,,
Article,Article,
Training,Training,
Blog Post,Article,
Research Study,Article,
White Paper,Article,
Conference,Event,
Digital Live Event,Event,
Sponsored Event,Event,
Trade Show,Event,
Webinar,Event,
News Story,News,
Newsletter,News,
Press Release,News,
Public Notice,News,
Regulatory Update,News,

Steps to reproduce

Use the data above and import it, the terms causing the error:

Article,Article,
Training,Training,

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

gung wang created an issue. See original summary.

gung wang’s picture

Issue summary: View changes
gung wang’s picture

Issue summary: View changes
ali-h’s picture

I tried importing a csv file with the terms listed in the issue, and I found that the Article and Training terms (and all of their children terms) were not imported. All the other terms were imported.