Skip to content

No taxonomy terms were added. #44

Description

@nstriedinger

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions