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

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

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

        Acceptance criteria

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

                Created:
                Updated:

                  Task DoD