Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 1539 by lonico: 'WatchedGroupDataGrid' object has no attribute 'counts'
http://code.google.com/p/reviewboard/issues/detail?id=1539 *NOTE: Do not post confidential information in this bug report.* What version are you running? 1.5 Beta1 What's the URL of the page containing the problem? http://reviews.reviewboard.org/dashboard/?view=watched-groups (A user reported the issue on our system, but I could reproduce on reviewboard.org) What steps will reproduce the problem? 1. Click on link for Starred Groups if it exists) 2. Or go directly to: http://reviews.reviewboard.org/dashboard/?view=watched-groups What is the expected output? What do you see instead? Expected: Datagrid view. Without debug: Something broke! (Error 500) It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator. With debug: Request Method: GET Request URL: http://reviews.reviewboard.org/dashboard/?view=watched-groups Exception Type: TemplateSyntaxError Exception Value: Caught an exception while rendering: 'WatchedGroupDataGrid' object has no attribute 'counts' Original Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/template/debug.py", line 71, in render_node result = node.render(context) File "/usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/template/__init__.py", line 936, in render dict = func(*args) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5beta1-py2.5.egg/reviewboard/reviews/templatetags/reviewtags.py", line 326, in dashboard_entry elif view in datagrid.counts: AttributeError: 'WatchedGroupDataGrid' object has no attribute 'counts' What operating system are you using? What browser? Windows XP, Chrome, Firefox... Please provide any additional information below. Users are not able to star groups in the current version (see issue 1538) but users who migrated from a previous version still see the link if they previously starred so me groups. I can see in reviewboard/reviews/datagrids.py that self.counts is only defined for DashboardDataGrid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.