Project

General

Profile

Story #1218

Operations with invalid parameters should receive error messages

Added by Dave Vieglais over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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

Task #1219: Create integration tests for checking error responsesClosedRob Nahf

Task #1220: CN should return errors instead of default documentClosedRobert Waltz

History

#1 Updated by Dave Vieglais almost 13 years ago

  • Target version set to Sprint-2011.26-Block.4
  • Position set to 10

#2 Updated by Dave Vieglais over 12 years ago

  • Status changed from New to Closed
  • Milestone set to None

Subtasks are completed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)