Old JSON API does not ensure it retrieves the latest revision

Bug #1219062 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
Low
Aaron Bentley

Bug Description

API endpoints like http://manage.jujucharms.com/charms/precise/rails/json should return the latest revision, but instead they return an arbitrary revision (typically older, because mongo defaults to order of insertion). As of Aug 30, it should return information about cs:precise/rails-1, but instead it returns information about cs:precise/rails-0

Because this API is deprecated and will soon be removed, this is not a high-priority issue.

Related branches

Aaron Bentley (abentley)
Changed in charmworld:
assignee: nobody → Aaron Bentley (abentley)
status: Triaged → In Progress
Aaron Bentley (abentley)
Changed in charmworld:
status: In Progress → Fix Released
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.