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

New issue 1920 by lonico: TypeError at /r/1524/ -- can't compare datetime.datetime to int
http://code.google.com/p/reviewboard/issues/detail?id=1920

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
1.6alpha0.dev_20101217

What's the URL of the page containing the problem?
http://reviews.reviewboard.org/r/1524/

What steps will reproduce the problem?
1.Just visit the URL: http://reviews.reviewboard.org/r/1524/


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

TypeError at /r/1524/

can't compare datetime.datetime to int

Request Method:         GET
Request URL:    http://reviews.reviewboard.org/r/1524/
Django Version:         1.2.3
Exception Type:         TypeError
Exception Value:        

can't compare datetime.datetime to int

Exception Location: /usr/lib/python2.5/site-packages/ReviewBoard-1.6alpha0.dev_20101217-py2.5.egg/reviewboard/reviews/views.py in review_detail, line 354
Python Executable:      /usr/bin/python
Python Version:         2.5.2

/usr/lib/python2.5/site-packages/ReviewBoard-1.6alpha0.dev_20101217-py2.5.egg/reviewboard/reviews/views.py in review_detail

 347.
 348. try:
349. latest_reply = temp_review.public_replies().latest('timestamp').timestamp
 350. except Review.DoesNotExist:
 351. latest_reply = None
 352.
 353. # Mark as expanded if there is a reply newer than last_visited

 354. if latest_reply and last_visited < latest_reply:

last_visited    0
latest_reply    datetime.datetime(2010, 5, 6, 1, 19, 53)

What operating system are you using? What browser?

Firefox

Please provide any additional information below.


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

Reply via email to