Bug #722
GMN returning a 500 status for object not found
Start date:
Due date:
% Done:
100%
Milestone:
Product Version:
*
Story Points:
Sprint:
Description
The error code and error detail are being set correctly in the response document, but the HTTP status code is 500 and should be 404.
Example:
curl -H "Accept: text/xml" -v "http://dev-dryad-mn.dataone.org/mn/object/some%20bogus%20id"
History
#1 Updated by Roger Dahl over 14 years ago
- Status changed from New to Closed
#2 Updated by Dave Vieglais about 12 years ago
- Category changed from 299 to d1_mn_GMN
- translation missing: en.field_remaining_hours set to 0.0