Problem/Motivation

I was playing around with exporting an article node with 3 new tag terms using

dr content:export node 5043 --with-dependencies --dir=../recipes/academytwo_recipe_test/content

While this command was ultimately successful, it did output the following warning 3 times (once for each new term I added to the node's Tags field):

[warning] Failed to export reference to taxonomy term 0 referenced by Term Parents on taxonomy term batman because the referenced taxonomy term does not exist.

This warning message doesn't really make sense if the term being exported is a top-level term.

Steps to reproduce

Create a node with one or more new top level terms. Export as shown above.

Issue fork drupal-3622562

Command icon 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

ultimike created an issue. See original summary.

hoxton made their first commit to this issue’s fork.

hoxton’s picture

Have added specific checks for this particular case to skip the warning message.

hoxton’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs issue summary update, +Needs screenshots

Have not fully reviewed but IS appears to be incomplete.