Story #1218
Operations with invalid parameters should receive error messages
Start date:
2011-01-12
Due date:
% Done:
100%
Story Points:
Sprint:
Description
All REST operations on nodes (CN or MN) should return an appropriate error message if the parameters for the call are incorrect or the call is invalid for some other reason.
Currently the CN stack returns the CN Home when an error is encountered. For example:
http://cn-dev.dataone.org/cn/object?count=1&start=10
should actually be a valid call, but is currently treated by the CN as an error since it is requiring the "qt" parameter to be present. However, instead of returning an error, the CN "home page" is being returned.
Subtasks
History
#1 Updated by Dave Vieglais over 13 years ago
- Target version set to Sprint-2011.26-Block.4
- Position set to 10
#2 Updated by Dave Vieglais over 13 years ago
- Status changed from New to Closed
- Milestone set to None
Subtasks are completed