Project

General

Profile

Bug #722

GMN returning a 500 status for object not found

Added by Dave Vieglais almost 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
d1_mn_GMN
Target version:
-
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 almost 14 years ago

  • Status changed from New to Closed

#2 Updated by Dave Vieglais over 11 years ago

  • Category changed from 299 to d1_mn_GMN
  • translation missing: en.field_remaining_hours set to 0.0

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)