getSeries() on an non-existing raises BadRequest, would expect NotFound
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Francis J. Lacoste |
Bug Description
>>> from launchpadlib.
>>> lp = Launchpad.
>>> lp.distribution
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
url, in_representation, http_method, extra_headers=
File "/home/
raise error
lazr.restfulcli
Response headers:
---
connection: close
content-length: 38
content-type: text/plain
date: Wed, 15 Jun 2011 20:58:03 GMT
server: zope.server.http (HTTP)
status: 400
vary: Accept,
via: 1.1 wildcard.
x-lazr-
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
No such distribution series: 'foobar'.
---
I would have expected a NotFound (404) error.
Related branches
- Gavin Panella (community): Approve
- Diff: 0 lines
Changed in launchpad: | |
assignee: | nobody → Francis J. Lacoste (flacoste) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r13262 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13262>.