Issue #457
closedno error status code when retrieved event listener with a given id does not exist
Description
Description of problem:
Version-Release number of selected component (if applicable):
rpm -qa pulp-server
pulp-server-2.4.0-0.20.beta.el6.noarch
How reproducible:
always
Steps to Reproduce:
curl -k -X GET https://admin:admin@localhost/pulp/api/v2/events/
[]
curl -k -X GET https://admin:admin@localhost/pulp/api/v2/events/53a2efa1b7e943519470c186/
{"http_request_method": "GET", "exception": null, "error_message": "Missing resource(s): event_listener=53a2efa1b7e943519470c186", "_href": "/pulp/api/v2/events/53a2efa1b7e943519470c186/", "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"event_listener": "53a2efa1b7e943519470c186"}}, "description": "Missing resource(s): event_listener=53a2efa1b7e943519470c186", "sub_errors": []}, "traceback": null, "resources": {"event_listener": "53a2efa1b7e943519470c186"}}
Expected results:
HTTP/1.1 404 Not Found
Date: Thu, 19 Jun 2014 14:30:34 GMT
Server: Apache/2.2.15 (Red Hat)
Content-Length: 9
Connection: close
Content-Type: text/html; charset=UTF-8
not found
+ This bug was cloned from Bugzilla Bug #1111297 +
Allow plugins to configure python_version
fixes #457