'Unknown' is not valid status when using searchTasks() via the API

Bug #676189 reported by Jamu Kakar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

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.

Aaron Bentley (abentley)
affects: launchpad → malone
Deryck Hodge (deryck)
tags: added: api documentation
Changed in malone:
status: New → Triaged
importance: Undecided → High
tags: added: easy
Curtis Hovey (sinzui)
summary: - 'Unknown' is not valid status when using milestone.searchTasks via the
- API
+ 'Unknown' is not valid status when using searchTasks() via the API
Eike (eike-welk)
Changed in bug-repo-syncer:
importance: Undecided → Low
status: New → Confirmed
Eike (eike-welk)
no longer affects: bug-repo-syncer
William Grant (wgrant)
tags: added: bug-search
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.