Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-74

PUT request fails with 400 code if a new node has any subnodes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.1.2, 2.2.1
    • None

    Description

      PUT request works only if adding a single node. If such node contains any subnode(s) the request fails with 400 code.
      Tested on REST tools and via curl.
      Sample data:

      {
        "name": "test",
        "type": "mgnl:page",
        "path": "/test",
        "properties": [],
        "nodes": [
          {
            "name": "test",
            "type": "mgnl:page",
            "path": "/test/test",
            "properties": []
          }
        ]
      }
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ochytil Ondrej Chytil
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD