[MGNLREST-74] PUT request fails with 400 code if a new node has any subnodes Created: 22/Sep/16 Updated: 25/Mar/22 |
|
| Status: | Open |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | 1.1.2, 2.2.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Ondrej Chytil | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | y2k | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
PUT request works only if adding a single node. If such node contains any subnode(s) the request fails with 400 code.
{
"name": "test",
"type": "mgnl:page",
"path": "/test",
"properties": [],
"nodes": [
{
"name": "test",
"type": "mgnl:page",
"path": "/test/test",
"properties": []
}
]
}
|