PATCH returns 202 for add service name
Bug #1408402 reported by
Malini Kamalambal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
Invalid
|
Medium
|
Obulapathi |
Bug Description
PATCH endpoint returns a 202 for the following,
[{"op": "add",
"path": "/name",
"value": "chimp"}]
Actual Response: HTTP 202. the service does not get updated though :)
Expected Response: HTTP 400. the service should not get updated
Changed in poppy: | |
importance: | Undecided → Medium |
Changed in poppy: | |
milestone: | none → kilo-2 |
Changed in poppy: | |
assignee: | nobody → Obulapathi (obulpathi) |
Changed in poppy: | |
status: | New → Invalid |
To post a comment you must log in.
Thats how jsonpatch works. If you add to a string, it just replaces it. Can you please close the bug.
Thanks :)