PATCH returns 202 for add service name

Bug #1408402 reported by Malini Kamalambal
6
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
Revision history for this message
Obulapathi (obulpathi) wrote :

Thats how jsonpatch works. If you add to a string, it just replaces it. Can you please close the bug.
Thanks :)

Changed in poppy:
milestone: none → kilo-2
Obulapathi (obulpathi)
Changed in poppy:
assignee: nobody → Obulapathi (obulpathi)
Obulapathi (obulpathi)
Changed in poppy:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.