-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Expected Behaviour
HTTP 5xx response code if DC datastream creation fails
Current Behaviour
< HTTP/1.1 200 OK
< Date: Mon, 18 Jun 2018 23:10:51 GMT
< Server: Apache/2.2.15 (CentOS)
< X-Powered-By: PHP/5.3.3
< Expires: Sun, 19 Nov 1978 05:00:00 GMT
< Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
< X-Content-Type-Options: nosniff
< responseText: javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.ObjectIntegrityException: Parse error parsing DC XML Metadata: Premature end of file.
< Content-Length: 161
< Connection: close
< Content-Type: application/json; utf-8
<
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
{"message":"javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.ObjectIntegrityException: Parse error parsing DC XML Metadata: Premature end of file."}
Possible Solution
capture exception and set HTTP status
Steps to Reproduce (for bugs)
trigger datastream creation failure
Metadata
Metadata
Assignees
Labels
No labels