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

New ticket #4607 by Armec
For Beanbag, Inc. > Review Board

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


------------------------------------------------------------------------------
Trying to sort by fullname in "Users" page cause "error 500".
==============================================================================

# What version are you running?
Not related but I tested it in:
1.7.2
1.7.29
2.5.16
3.0 RC2(in http://demo.reviewboard.org/r/)

# What's the URL of the page containing the problem?


# What steps will reproduce the problem?
1. Enter "Users" page (or "Submitter" in older version)
2. Try to be "smart" and sort by "fullname" changing url to 
?page=1&letter=all&sort=-fullname
3. Get error 500 forever


# What is the expected output? What do you see instead?

# What operating system are you using? What browser?


# Please provide any additional information below.
It's related to djblets because when you change url to sort by "fullname" which 
is name of column in reviewboard/datagrids/grids.py then djblets try to sort 
(sort_list created in djblets/datagrid/grids.py in "load_state") that datagrid 
by "get_full_name" field in users model. Since "get_full_name" is method we are 
getting FieldError. It's especially annoying because it saves to 
accounts_profile.sort_submitter_columns in database. Good thing is that it can 
be reverted writing "username" in url.

Btw it was "reported" few years ago:
https://groups.google.com/forum/#!topic/reviewboard/6N8nuv8jwOo

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

-- 
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