Project

General

Profile

Bug #1267

Metacat is not returning exception name in error responses

Added by Dave Vieglais about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
d1_common_java
Target version:
Start date:
2011-01-28
Due date:
% Done:

100%

Milestone:
Product Version:
*
Story Points:
Sprint:

Description

As discussed during standup today, Metacat is not returning the name of the exception when an error condition is encountered. For example:

curl -H "Accept: text/xml" "http://knb-mn.ecoinformatics.org/knb/d1/object/bogus"
<?xml version="1.0"?>

Document not found:bogus

The response should be something more like:

<?xml version="1.0"?>

Document not found:bogus

History

#1 Updated by Dave Vieglais about 13 years ago

  • Position set to 2
  • Target version changed from Sprint-2011.04 to Sprint-2011.05

#2 Updated by Rob Nahf about 13 years ago

most likely needs a new d1_common_java jar in the knb.war

#3 Updated by Dave Vieglais about 13 years ago

  • Position deleted (19)
  • Target version changed from Sprint-2011.05 to Sprint-2011.06
  • Position set to 5

#4 Updated by Robert Waltz about 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)