Details
-
Type:
Bug
-
Status:
Open
-
Priority:
To be reviewed
-
Resolution: Unresolved
-
Affects Version/s: 1.0-beta-3
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
Summary: when querying for the history of an artifact that doesn't exist, the encoding type in the returned XML document is "UTF8" instead of "UTF-8". Notably this causes a xerces SAXParseException: 'org.xml.sax.SAXParseException: Invalid encoding name "UTF8".'
Steps to reproduce:
1. query for the history of a non-existent artifact, e.g. GET /galaxy/api/registry/workspace/foobar;history
2. Note the returned XML: <?xml version='1.0' encoding='UTF8'?><error xmlns="http://incubator.apache.org/abdera"><code>404</code><message>Not Found</message></error>