PATCH Error Message for op Property Needs to Return Valid Operations
Bug #1408296 reported by
William Brothers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
New
|
Low
|
Unassigned |
Bug Description
When a string is enter for the op property that is not one of the following:
add
replace
remove
The error message should return a list of the valid values.
Currently the message states that the string enter is an unknown operation.
Example:
[{"op": "str",
"path": "/restrictions"
}
]
Result:
{
"message": "Unknown operation u'str'"
}
summary: |
- PATCH op Property Needs to Return Valid Operations + PATCH Error Message for op Property Needs to Return Valid Operations |
Changed in poppy: | |
importance: | Undecided → Medium |
milestone: | none → kilo-2 |
Changed in poppy: | |
assignee: | nobody → Obulapathi (obulpathi) |
Changed in poppy: | |
milestone: | kilo-2 → kilo-3 |
Changed in poppy: | |
assignee: | Obulapathi (obulpathi) → nobody |
Changed in poppy: | |
milestone: | kilo-3 → liberty-1 |
Changed in poppy: | |
milestone: | liberty-1 → none |
Changed in poppy: | |
importance: | Medium → Low |
To post a comment you must log in.
Looking at the code, this bug should be resolved.