2012-03-26 00:52:27 |
Eike |
description |
dummy |
The list of statuses listed here:
https://launchpad.net/+apidoc/1.0.html#bug_task
includes 'Unknown', but actually specifying that status causes a
failure:
...
for bug_task in milestone.searchTasks(status=ALL_STATUSES):
File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 528, in __call__
url, in_representation, http_method, extra_headers=extra_headers)
File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 277, in _request
raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 400: Bad Request
Response headers:
---
connection: close
content-length: 230
content-type: text/plain
date: Tue, 16 Nov 2010 18:30:57 GMT
server: zope.server.http (HTTP)
status: 400
vary: Accept,Accept-Encoding
via: 1.1 wildcard.edge.launchpad.net
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
status: Invalid value "Unknown". Acceptable values are: New, Incomplete (with response), Incomplete (without response), Incomplete, Opinion, Invalid, Won't Fix, Expired, Confirmed, Triaged, In Progress, Fix Committed, Fix Released
---
Notice also that 'Incomplete (with response)' and 'Incomplete (without
response)' are not included in the documentation. |
|