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

New issue 2648 by Incorrect diff displayed (different file than the one in db, maybe wrong cache?)

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?
1.6.9, just upgraded from 1.6.5., Debian, python 2.6.6 virtualenv

What's the URL of the page containing the problem?
Diff of a review request - /r/582/diff/#index_header

What steps will reproduce the problem?
bin/pip install -U ReviewBoard # had 1.6.5, got 1.6.9
bin/rb-site upgrade /path/to/rbwwwinstance
upload a diff in an SVN

The first file in the diff set is a different one; diff is for HEAD I think (latest commit). The displayed file is CHANGELOG.rst, while the uploaded diff file contained The DB contains the correct file with the correct diff, only the diff content is incorrect.

Diffset is 1092, contained in diff history 918, which is contained in review request 582, so foreign keys are all correct

It is very easy to understand from screenshot.

Could be something related to caching? Because we used it for 2 days after upgrading it, when I uploaded the diff which is shown erronously and after this issue occurred, I reran the upgrade from backup, and this happened again.

How can I reset cache?
Cache backend is set to file:///var/local/reviewboard/www/reviewboard/tmp/reviewboard_cache but it does not exist:
# ls -la /var/local/reviewboard/www/reviewboard/tmp/reviewboard_cache
ls: cannot access /var/local/reviewboard/www/reviewboard/tmp/reviewboard_cache: No such file or directory

        reviewboard_fail.jpg  281 KB

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to