Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Ok. But is this only for one time? Because the next time I import new configurations in the production site (the site is live and up and running), it's then not an option to delete all those terms... Commented May 23, 2016 at 16:24
  • Do you want to delete the vocabulary and its terms or not? You can only delete it once, so by definition, it is a one time thing. If you however do not want to delete it, then something else is wrong. Those terms will be gone, they will not be re-created. Commented May 23, 2016 at 16:27
  • Yes I can delete them now, because it's still in test. But my workflow is as follows: 1) I down sync my Production database (snapshot of live site database), with all the content, nodes, taxonomy terms etc) and import it into Dev environment 2) I make new changes and configurations on Dev. 3) export those configurations with drush cex and pull them into Production. If I follow this workflow I don't have to delete the Catalog terms again, isn't it? It's a one time thing? Commented May 23, 2016 at 16:34
  • I'm not asking if you can delete them. I'm asking if you want to. If you deleted that vocabulary on your dev site and are deploying that now, then you have to delete the terms and everything is working just like it is supposed to., If that's not your intention then your process is wrong. A config import is everything. You can't make changes on prod and on dev and then deploy the dev changes while keeping the prod changes too. Either copy the production DB first as you said and then only make changes on dev, or you need to use git or so to merge both change sets together. Commented May 23, 2016 at 16:51
  • Sorry now I am a bit lost. To be sure: 1) Taxonomy the Vocabulary is part of Drupal CMI and so the Vocabulary will be transported in Drupal 8 Configuration Management, isn't it? 2) The terms themselves are not part of CMI. They are content and part of the Database and will not be transported during Configuration Management, isn't it? 3) So to make the import working and start over again, do I have to delete the Vocabulary Catalog and it's terms on Production and on Dev. 4) Then create the Vocabulary again and export that Vocabulary (Catalog) with Drupal Configuration Management. Correct? Commented May 23, 2016 at 18:48