default_content icon indicating copy to clipboard operation
default_content copied to clipboard

No taxonomy terms were added.

Open nstriedinger opened this issue 9 years ago • 3 comments

This is what I tried.

Goal: To add terms to a preexisting "Status" vocabulary on module enable.

*I've added the folder structure content/taxonomy_term/status.json to my module *I pasted the output of a views rest call to status.json *I enabled the content_default module *I didn't get any added terms. What did I do wrong?

Thanks for any help.

status.json looks like this:

[{ "tid":[{"value":"7"}], "uuid":[{"value":"a8bc1e58-f6ff-494c-8300-ac1678c12ae1"}], "vid":[{"target_id":"status"}], "langcode":[{"value":"en"}], "name":[{"value":"Needs Review"}], "description":[{"value":null, "format":null}], "weight":[{"value":"0"}], "parent":[], "changed":[{"value":"1434495120"}], "default_langcode":[{"value":"1"}], "path":[]}, { "tid":[{"value":"8"}], "uuid":[{"value":"b2fc7bb1-d8a7-49f5-a507-7fbffd830f9c"}], "vid":[{"target_id":"status"}], "langcode":[{"value":"en"}], "name":[{"value":"Ready"}], "description":[{"value":null, "format":null}], "weight":[{"value":"0"}], "parent":[], "changed":[{"value":"1434495129"}], "default_langcode":[{"value":"1"}], "path":[]}, { "tid":[{"value":"6"}], "uuid":[{"value":"014bf324-ebd0-41f6-a303-3fb85d8f6757"}], "vid":[{"target_id":"status"}], "langcode":[{"value":"en"}], "name":[{"value":"Unreviewed"}], "description":[{"value":null, "format":null}], "weight":[{"value":"0"}], "parent":[], "changed":[{"value":"1434495113"}], "default_langcode":[{"value":"1"}], "path":[] }]

nstriedinger avatar Jun 30 '15 15:06 nstriedinger

Does it make a difference if you use the drush command instead of a view?

larowlan avatar Jun 30 '15 22:06 larowlan

Pardon, could you give me an example?

nstriedinger avatar Jul 07 '15 16:07 nstriedinger

There is a drush command to export content

larowlan avatar Jul 29 '15 23:07 larowlan