Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No taxonomy terms were added. #44

Open
nstriedinger opened this issue Jun 30, 2015 · 3 comments
Open

No taxonomy terms were added. #44

nstriedinger opened this issue Jun 30, 2015 · 3 comments

Comments

@nstriedinger
Copy link

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":[] }]

@larowlan
Copy link
Owner

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

@nstriedinger
Copy link
Author

Pardon, could you give me an example?

@larowlan
Copy link
Owner

There is a drush command to export content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants