list_member returns list of Queue objects

Bug #1260109 reported by Sergey Fedoseev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-payloadclient
Fix Committed
Undecided
Unassigned

Bug Description

'list_member' returns list of Queue objects, which seems to be wrong as returned objects have fields different from objects returned by 'get' or 'list'.

Revision history for this message
Paul Belanger (pabelanger) wrote :

Ya, a bug. In my haste to get it working, I tried to cheat the system and combine Queue and QueueMembers. The fix would to be create a QueueMemberManager object and move the list_member functions into it. Making sure to add unit tests too.

Revision history for this message
CaptPants (captpants) wrote : Fix proposed to python-payloadclient (master)

Fix proposed to branch: master
Review: http://review.kickstand-project.org/495

Changed in python-payloadclient:
status: New → In Progress
Revision history for this message
CaptPants (captpants) wrote : Fix merged to python-payloadclient (master)

Reviewed: http://review.kickstand-project.org/495
Committed: http://github.com/kickstandproject/python-payloadclient/commit/3c572e3e59a7b386a2ae50780d7c9bd467ba237a
Submitter: Jenkins (<email address hidden>)
Branch: master

commit 3c572e3e59a7b386a2ae50780d7c9bd467ba237a
Author: Sergey Fedoseev <email address hidden>
Date: Fri Dec 13 00:42:48 2013 +0400

    make QueueManager.list_member return QueueMember objects

    Change-Id: I44455be6f6294964e2fd3a1bcb06bb7731cebdbe
    Closes-Bug: #1260109

Changed in python-payloadclient:
status: In Progress → Fix Committed
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.