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.