Javascript library doesn't wrap entries within collections

Bug #308198 reported by Leonard Richardson
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeff Craig

Bug Description

If you .get() an entry from the Javascript library, you get a LP.client.Entry object. .get() a collection and you'll get a LP.client.Collection object. But the entries in the collection, accessible from collection.entries, aren't Entry objects. They're normal Javascript objects that don't support lp.save() or any of the other nice LP.client.Entry methods. The same method that creates a Collection object needs to iterate over the Collection and create a bunch of Entry objects.

Related branches

Changed in launchpad-foundations:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Jeff Craig (foxxtrot) wrote :

Taking ownership of bug.

Changed in launchpad-foundations:
assignee: nobody → Jeff Craig (foxxtrot)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.09
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: Triaged → Fix Committed
Gary Poster (gary)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Fix Committed → 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.