Skip to content

Parent/Child modResource JSON seed data issue. #39

Description

@zaigham

As per twitter conversation: https://twitter.com/craftsmancoding/status/615949782897463296

The following dataset only created parent page. and thats it.
Please see the data sample below:

[
    {
        "type": "document",
        "contentType": "text/html",
        "pagetitle": "Parent Page",
        "longtitle": "",
        "description": "",
        "alias": "s",
        "link_attributes": "",
        "published": true,
        "pub_date": 0,
        "unpub_date": 0,
        "parent": 0,
        "isfolder": true,
        "introtext": "",
        "content": "Some Content",
        "richtext": false,
        "template": 0,
        "menuindex": 8,
        "searchable": false,
        "cacheable": false,
        "createdby": 39,
        "createdon": "2013-12-10 23:02:37",
        "editedby": 900,
        "editedon": "2015-03-23 18:06:46",
        "deleted": false,
        "deletedon": 0,
        "deletedby": 0,
        "publishedon": "2013-12-10 23:07:00",
        "publishedby": 39,
        "menutitle": "",
        "donthit": false,
        "privateweb": false,
        "privatemgr": false,
        "content_dispo": 0,
        "hidemenu": true,
        "class_key": "modDocument",
        "context_key": "web",
        "content_type": 1,
        "uri": "s/",
        "uri_override": 0,
        "hide_children_in_tree": 0,
        "show_in_tree": 1,
        "properties": null,
        "children": {
            "type": "document",
            "contentType": "text/html",
            "pagetitle": "Child of Parent Page",
            "longtitle": "",
            "description": "",
            "alias": "product",
            "link_attributes": "",
            "published": true,
            "pub_date": 0,
            "unpub_date": 0,
            "isfolder": false,
            "introtext": "",
            "content": "Some Content",
            "richtext": false,
            "template": 0,
            "menuindex": 6,
            "searchable": false,
            "cacheable": true,
            "createdby": 39,
            "createdon": "2013-12-16 12:51:59",
            "editedby": 39,
            "editedon": "2015-03-26 19:45:47",
            "deleted": false,
            "deletedon": 0,
            "deletedby": 0,
            "publishedon": "2013-12-16 14:02:00",
            "publishedby": 39,
            "menutitle": "",
            "donthit": false,
            "privateweb": false,
            "privatemgr": false,
            "content_dispo": 0,
            "hidemenu": true,
            "class_key": "modDocument",
            "context_key": "web",
            "content_type": 1,
            "uri": "s/profile",
            "uri_override": 1,
            "hide_children_in_tree": 0,
            "show_in_tree": 1,
            "properties": null
        }
    }
]

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions