------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4513/
------------------------------------------------------------------------------

New ticket #4513 by chipx86
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
User selector in the Group configuration breaks for non-active users
==============================================================================

# What version are you running?
2.5.7

# What's the URL of the page containing the problem?
/admin/db/reviews/group/ID/

# What steps will reproduce the problem?
1. Add another user to a group.
2. Go into the Users part of the database viewer, edit a user, and uncheck the 
"Active" checkbox. Save.
3. Try to save the group again.


# What is the expected output? What do you see instead?
This will fail with "Select a valid choice. _ID_ is not one of the available 
choices."

This happens because the queryset for `GroupForm` uses `is_active=True`, 
preventing any users in the list who are inactive from being saved.

We should remove that and make sure inactive users in the list can be saved 
(with a unit test proving this).

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to