Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3068 by miquelca...@gmail.com: Click admin "Review board Activity" < > buttons when box is minimized send a crash email.
http://code.google.com/p/reviewboard/issues/detail?id=3068

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!

What version are you running?
1.7.13

What's the URL of the page containing the problem?
admin/

 'PATH_INFO': u'/reviews/admin/widget-activity/',

What steps will reproduce the problem?
1. Open admin board page with the "Review board activity" box minimized.
2. click "<" or ">" buttons.
3. Review board send an ERROR email to admin with a crash.

Traceback (most recent call last):

File "/usr/local/lib/python2.6/dist-packages/Django-1.4.6-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.13-py2.6.egg/reviewboard/admin/views.py", line 137, in widget_activity
    activity_data = dynamic_activity_data(request)

File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.13-py2.6.egg/reviewboard/admin/widgets.py", line 354, in dynamic_activity_data
    new_range_start + datetime.timedelta(days=days_total)

TypeError: coercing to Unicode: need string or buffer, datetime.timedelta found

What is the expected output? What do you see instead?
No crash.

What operating system are you using? What browser?
User OS: Mac
Browser: Chrome
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36',



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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 reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to