Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2784 by [email protected]: Incorrect starred groups shown in
sidebar on dashboard
http://code.google.com/p/reviewboard/issues/detail?id=2784
* NOTE: For customer support, please post to *
* [email protected] *
* *
* Do not post confidential information in this bug report. *
* If you need immediate support, please contact *
* [email protected] *
What version are you running?
1.6.13
What's the URL of the page containing the problem?
http://reviewboard.example.com/dashboard/
What steps will reproduce the problem?
1. Find a user who's user_id does not match his profile_id
2. Star a group with that user and see no groups show up on dashboard
sidebar
3. Star a group with the user who's id is the same as the first user's
profile_id and see that group show up on the first user's dashboard even
though it was starred by the second user
What is the expected output? What do you see instead?
The starred groups should show up on that user's dashboard, not on the user
who's user_id happens to match that user's profile_id.
What operating system are you using? What browser?
Server is on CentOS, client is Chrome on Windows 7.
Please provide any additional information below.
It looks like the filter for finding starred groups in get_sidebar_counts()
in reviews/datagrids.py is looking for starred_by=user when it should be
looking for groups that are starred by that user's profile.
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.