The API's people[groupname].members method can return duplicates

Bug #1839132 reported by Barry Price
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

Using the Python launchpadlib library to talk to the API, I request a list of members for an appropriately large (>600 member) group:

people = [p.name for p in launchpad.people[groupname].members]

people contains the correct number of people, but several of them are duplicate records. Which means some members aren't returned at all.

Related branches

Barry Price (barryprice)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

I think this is because the collection is unordered, so successive batches can be inconsistent.

Changed in launchpad:
importance: Undecided → High
status: New → Triaged
tags: added: api lp-registry
Colin Watson (cjwatson)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson)
Changed in launchpad:
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.