API 2 does not ensure the latest revision is selected
Bug #1219064 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charmworld |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
The "charm" API endpoint should select the latest revision, but it does not. For example, http://
As of r371, API3 is not affected, but manage.
Related branches
lp:~abentley/charmworld/use-latest-charm
- Curtis Hovey (community): Approve (code)
-
Diff: 111 lines (+41/-4)5 files modifiedcharmworld/testing/factory.py (+1/-1)
charmworld/views/api.py (+2/-2)
charmworld/views/charms.py (+2/-1)
charmworld/views/tests/test_api.py (+20/-0)
charmworld/views/tests/test_charms.py (+16/-0)
description: | updated |
Changed in charmworld: | |
assignee: | nobody → Aaron Bentley (abentley) |
status: | Triaged → In Progress |
Changed in charmworld: | |
status: | In Progress → Fix Released |
To post a comment you must log in.